![]() |
|
#1
|
||||
|
||||
Can't connecthi
im VERY new to PHP. i'm tyring to connect to a db. and it's just not working please help. this is what i did to create the database: PHP Code:
this is what i'm using to connect to it: PHP Code:
and i keep getting this as the output: ++Connected to MySQL default: quotesUnable to select database pleeeaase help __________________
Xrum! |
|
#2
|
||||
|
||||
Re: Can't connectThat looks like you merely created a table named 'Quotes'...
Are you sure that you have a database, named 'quotes', that contains the table [in post1] called 'Quotes' ? I can only assume this is the case, unless you were in another database when the table was created; otherwise, you would have received: "No database selected" __________________
Use the force...read the source!! WYCIWYG -- what you code is what you get! |
|
#3
|
|||
|
|||
Re: Can't connectDo you already have the database created.. if not... you have to create your db first if it does not exist.
|
Recent GIDBlog
2nd Week of IA Training by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unable to Connect with localhost using FTP | vatsaldesai24 | .NET Forum | 2 | 02-Nov-2006 05:52 |
| Error when trying to connect | AnaXyd | MySQL / PHP Forum | 0 | 13-Aug-2005 01:47 |
| clients of certain isp cannot connect to my sites | hotwired | Web Hosting Forum | 3 | 26-Jul-2005 10:05 |
| Cannot connect to MySQL | strahman | MySQL / PHP Forum | 12 | 18-Jan-2005 03:38 |
| cannot connect to localhost ? | tppradeep18 | Apache Web Server Forum | 2 | 25-Feb-2004 04:46 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The