here are some bugs in my guestbook script how to solve them ?
View Single Post
03-01-2008, 12:59 PM
Join Date: Feb 2008
the num 2 and 3 seem to be fixed already :)
as for the num 1 just check
if ($q) then do the mysql_fetch_array...
that is if $q is the result of the query: $q = mysql_query()....
and that's what hyou should do for the last error, and add this to filter your variables:
and when you print the message don't forget to
stripslashes() to remove the slashes you added with addslashes
- My PBB Game
- My Blog "Gaming With PHP"
View Public Profile
Send a private message to freenity
Visit freenity's homepage!
Find More Posts by freenity