Jump to content

checking for empty fields


Porkie

Recommended Posts

what code can i use to check for empty fields in my form? and do i need to put the code on the form page or on the submit page? And where about on the page?

 

also i want my form to pick this up as a field

<?php echo $stuff['email']; ?>

 

however is this the righjt code i should be using to pick up the variable?

 

$email = $_POST['email'];

 

cheers in advance

Link to comment
https://forums.phpfreaks.com/topic/174182-checking-for-empty-fields/
Share on other sites

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.