Jump to content

Help in form feild validation plz


delickate

Recommended Posts

Hello

 

All fields ?

 

<?php
foreach ($_POST as $key=>$value) {
$_POST[$key] = mysql_real_escape_string(htmlspecialchars($value));
}
?>

 

Will try to clean up all post values, it is not the best solution. If you want to validete the lenght and etc things, then

you have to do it a differently.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

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.