Home › Forums › Back End › php variables › Reply To: php variables
May 31, 2014 at 12:34 am
#171481
PHP Strome the Front
Participant
yes i am doing for form..
i used htmlspecialchars so i don’t get sql injection or something like that ..
but this code
foreach( $list as $fieldName ){
if( empty( $_POST[$fieldName] ) ){
$error[$fieldName] = "You have missed the $fieldName field.";
}
}
print you have missed db field isn’t it ??? i want to print you have missed database field