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);
?>
Printable View
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);
?>
It should do yes.
charlie josh has been teaching me php :D
Looks good enough too me :p
- Dan