Posted by Steve on 02/13/06 12:26
> >>> $connection = mysql_connect($db_host,$db_user,$db_passwword) or die
> >> Could it be because you have misspelt password as passwword ?
> >> Reg
> > nope, that wont generate syntax error!
> Then could it be because the function takes only two parameters :) ?
> bool mysql_select_db ( string database_name [, resource
> link_identifier] )
> Reg
Bzzzzt! OP is calling mysql_connect() NOT mysql_select_db(). The
problem is in the included document. Thanks for playing.
---
Steve
[Back to original message]
|