Hello,
I'm using php version 4.0 with mysql 5.0.24
connecting to the db using mysql_connect and running the statments using mysql_query.
I want to know how to restrict the queries so it won't allow sending multiple statments.
(I know that if I put '\' after the end of the first statment the second one will be ignored but I cannot convert any ; to ;\ since I put data from the user in the query)
Thanks
I'm using php version 4.0 with mysql 5.0.24
connecting to the db using mysql_connect and running the statments using mysql_query.
I want to know how to restrict the queries so it won't allow sending multiple statments.
(I know that if I put '\' after the end of the first statment the second one will be ignored but I cannot convert any ; to ;\ since I put data from the user in the query)
Thanks