TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

php guestbook help! (please!)

Page: 1 Reply
Oct 17th 2002#74196 Report
Member since: Sep 12th 2002
Posts: 28
Hello!

I use a php MySQL powerd php script. In the mysql_pconnect i put 'localhost' and then my own normal ftp user id and password. i also put my database name in the mysql_select_db.

But this wont work! I just get "Select Failed!" when i launch the guestbook! why is this i dont know, but the php scripts that invloves the select failes goes:


$guests = mysql_query($query) or die("Select Failed!");


can somebody help me with this please?
Reply with Quote Reply
Oct 17th 2002#74199 Report
Member since: Mar 20th 2001
Posts: 3367
Are the tables already built?
Reply with Quote Reply
Oct 17th 2002#74210 Report
Member since: Sep 12th 2002
Posts: 28
aye! they are!
Reply with Quote Reply
Oct 17th 2002#74247 Report
Member since: Apr 1st 2002
Posts: 1487
you sure you have the right PW and username for mysql?

and posting the script, or atleast some more code might let us help you out more.
Reply with Quote Reply
Oct 18th 2002#74281 Report
Member since: Jun 30th 2001
Posts: 447
You probably have an error in your select query.
Reply with Quote Reply
Nov 6th 2002#77249 Report
Member since: Nov 2nd 2002
Posts: 26
are you sure your mySQL password is the same as your FTP password? i doubt they are..
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum