Announcements | Last Post | |
---|---|---|
SoC Curricula | 09/30/2017 01:08PM | |
Demarcation or scoping of examinations and assessment | 02/13/2017 07:59AM | |
School of Computing Short Learning Programmes | 11/24/2014 08:37AM | |
Unisa contact information | 07/28/2011 01:28PM |
connecting to database from free web hosting area October 03, 2012 01:56PM |
Registered: 12 years ago Posts: 30 Rating: 0 |
Re: connecting to database from free web hosting area October 04, 2012 08:57AM |
Admin Registered: 18 years ago Posts: 10,001 Rating: 353 |
Re: connecting to database from free web hosting area October 09, 2012 09:47PM |
Registered: 11 years ago Posts: 6 Rating: 0 |
Re: connecting to database from free web hosting area October 10, 2012 09:05AM |
Admin Registered: 18 years ago Posts: 10,001 Rating: 353 |
Re: connecting to database from free web hosting area October 10, 2012 10:22PM |
Registered: 11 years ago Posts: 6 Rating: 0 |
Re: connecting to database from free web hosting area October 11, 2012 07:49AM |
Admin Registered: 18 years ago Posts: 10,001 Rating: 353 |
Re: connecting to database from free web hosting area October 12, 2012 10:23PM |
Registered: 18 years ago Posts: 35 Rating: 0 |
Re: connecting to database from free web hosting area October 25, 2012 09:22AM |
Registered: 12 years ago Posts: 64 Rating: 0 |
Language: PHP$user_name = "Dumisani"; $password = ""; $database = "informationemployees"; $server = "localhost";
Re: connecting to database from free web hosting area October 25, 2012 10:24AM |
Registered: 12 years ago Posts: 8 Rating: 0 |
Re: connecting to database from free web hosting area October 25, 2012 11:26AM |
Registered: 12 years ago Posts: 64 Rating: 0 |
Re: connecting to database from free web hosting area October 25, 2012 03:31PM |
Admin Registered: 18 years ago Posts: 10,001 Rating: 353 |
Re: connecting to database from free web hosting area October 25, 2012 04:34PM |
Registered: 12 years ago Posts: 64 Rating: 0 |
Re: connecting to database from free web hosting area October 25, 2012 09:48PM |
Registered: 12 years ago Posts: 64 Rating: 0 |
Language: PHP//Open connection to Database $user_name = "558815"; $password = "dumiweza2"; $database = "558815"; $server = "localhost";
Re: connecting to database from free web hosting area October 26, 2012 06:00AM |
Registered: 12 years ago Posts: 64 Rating: 0 |
Re: connecting to database from free web hosting area October 26, 2012 07:44AM |
Admin Registered: 18 years ago Posts: 10,001 Rating: 353 |
Re: connecting to database from free web hosting area October 26, 2012 09:30AM |
Registered: 11 years ago Posts: 44 Rating: 0 |
Language: PHP<?php //Connecting to Server & Database $connect = mysql_connect("localhost", "558815", "dumiweza2") or die ("Couldn';t connect to MySQL Server"); $db = mysql_select_db ("558815" , $connect) or die (';Could not connect: '; . mysql_error()); ?>
Re: connecting to database from free web hosting area October 26, 2012 09:38AM |
Registered: 11 years ago Posts: 44 Rating: 0 |
Re: connecting to database from free web hosting area October 26, 2012 03:19PM |
Registered: 12 years ago Posts: 64 Rating: 0 |
Re: connecting to database from free web hosting area October 26, 2012 03:36PM |
Admin Registered: 18 years ago Posts: 10,001 Rating: 353 |
Re: connecting to database from free web hosting area October 26, 2012 04:48PM |
Registered: 12 years ago Posts: 64 Rating: 0 |
Re: connecting to database from free web hosting area October 27, 2012 08:57AM |
Registered: 11 years ago Posts: 44 Rating: 0 |
Language: PHP<?php include ("connect.php"); ?>
Re: connecting to database from free web hosting area October 27, 2012 12:49PM |
Registered: 12 years ago Posts: 64 Rating: 0 |
The main problem is that it is still picking the old database "informationemployees" even if the database has been deleted and recreated in both my local PC and FWHA. I have even created a new database and new tables on my local PC to try to get it reading new database, all pages also changed to refer to new tables, but still it still call the old database and printing same error message. How to sort this out, I mean how can I get it to read the database I want it to read?Language: PHP$db_handle = mysql_connect("localhost", "558815", "dumiweza2"); $db_found = mysql_select_db("558815", $db_handle); if ($db_found) { } else { die("Sorry! Database not found: ". mysql_error()); } ?>
Re: connecting to database from free web hosting area October 28, 2012 08:43AM |
Registered: 12 years ago Posts: 64 Rating: 0 |
Re: connecting to database from free web hosting area October 28, 2012 01:00PM |
Registered: 11 years ago Posts: 44 Rating: 0 |
Re: connecting to database from free web hosting area October 28, 2012 05:08PM |
Registered: 11 years ago Posts: 44 Rating: 0 |
Re: connecting to database from free web hosting area October 28, 2012 09:01PM |
Registered: 12 years ago Posts: 64 Rating: 0 |
Re: connecting to database from free web hosting area October 29, 2012 08:14AM |
Registered: 11 years ago Posts: 44 Rating: 0 |
Re: connecting to database from free web hosting area October 29, 2012 09:06AM |
Registered: 12 years ago Posts: 64 Rating: 0 |
Re: connecting to database from free web hosting area October 29, 2012 09:22AM |
Registered: 11 years ago Posts: 44 Rating: 0 |
Re: connecting to database from free web hosting area October 30, 2012 09:13AM |
Registered: 11 years ago Posts: 44 Rating: 0 |
Re: connecting to database from free web hosting area October 30, 2012 09:32AM |
Admin Registered: 18 years ago Posts: 10,001 Rating: 353 |
Re: connecting to database from free web hosting area November 01, 2012 07:42PM |
Registered: 12 years ago Posts: 64 Rating: 0 |
Re: connecting to database from free web hosting area December 18, 2012 09:37AM |
Registered: 17 years ago Posts: 72 Rating: 0 |