PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
if (empty($_POST['name']))
die('Enter a name grrrr');
if (empty($_POST['age']))
die('Enter a age grrrrr');
//no do the echo name and age, becuase if they did not enter one it would "die" and thus would not make it this far in the script so it would not make anything look funny