03-01-2008, 12:59 PM
|
#2 (permalink)
|
|
The Acquainted
Join Date: Feb 2008
Posts: 119
Thanks: 17
|
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:
trim(strip_tags(addslashes($variable)))
and when you print the message don't forget to
stripslashes() to remove the slashes you added with addslashes
|
|
|
|