hi,
had you about http://php.net/manual/en/book.pcre.php?
what is the type of the input? float?
than maybe http://www.php.net/manual/en/function.is-float.php
hi,
heres an example:
$sql = "SELECT * FROM content WHERE page = '$page'";
$res = mysql_query($sql) or die (mysql_error());
if (0 === mysql_num_rows($res))
{
// page not found
// send a header and exit
}
while($row = mysql_fetch_assoc($res)){
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.