Posted by Anonymous on 10/16/71 11:35
zek2005 wrote:
> $dbase = mysql_connect("localhost", user , pass);
What are user and pass? Variables which contain the user and the
password as strings? Then it should be $user and $pass. Or are these the
actual user and password to the database? Then these are constant
strings and have to be quoted: "user" and "pass" would be right
(replaced with the real ones of course).
> mysql_select_db(historia,$dbase);
Exactly the same error here with historia. Either $historia or
"historia" depending on what you actually meant.
Bye!
[Back to original message]
|