Connecting to the database, error handling and selecting your database.
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.
Tags: Database Error, MySQL, Part, Php Mysql, Php Tutorials, Tutorials
Connecting to the database, error handling and selecting your database.
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.
Tags: Database Error, MySQL, Part, Php Mysql, Php Tutorials, Tutorials
thanks really helpful
bravo tut +1
@eyeAMtwinkEE You save it to “htdocs” folder in the Xampp directory
Nevermind this.
It won’t let me import my mysql page because of some syntax error.
I googled the error number (#1064) but that turned up nothing.
How did you save stuff into your localhost?
I can’t seem to have it like you do.
fixed error now i had ; sign after databse name but it aint echoing connected
i have done everything you have said it said on echo connected and my databse connection when i go to connect says
Parse error: syntax error, unexpected T_LOGICAL_OR in C:xampphtdocsphpacadmeymysqlconnect.php on line 6 and yes im using phpacadmey to make it easy to follow
try…
mysql_select_db(“guestbook”) or die(mysql_error());
my database does not gets connected
and its showing mysql_error
problem is comming in this command :
mysql_select_db(“guestbook”) or die(“mysql_error”);
if i make this a comment it shows connected
i cant understand y is it so?
dude i love you thanks mate ur the best
I love your tutorials, they’re so informative.
Still browsing through though.
As usual- great stuff! Thanks a lot!