Is this good enough SQL Injection prevention?
Valid2 will be used in a MySQL query.PHP Code:<?php
$valid = $_GET['page'];
$valid2 = mysql_real_escape_string($valid);
?>

Is this good enough SQL Injection prevention?
Valid2 will be used in a MySQL query.PHP Code:<?php
$valid = $_GET['page'];
$valid2 = mysql_real_escape_string($valid);
?>
kinda quit.
It should do yes.
charlie josh has been teaching me php![]()
Looks good enough too me :p
- Dan
Want to hide these adverts? Register an account for free!