i need to alow the forms to POST data with the caracter -> ' <- it works fine in some cases like POST data in to the database he put it...
but when i use a variable with that caracter and try to update the database will not work fine, maybe becouse of
Code: Select all
<?php
$sql = "select name from table where name='$x' ";
?>how do hy, resolve this problem ??
tanks[/b]