Page 2 of 2

Posted: Mon Sep 26, 2005 2:13 am
by shiznatix

Code: Select all

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

Posted: Mon Sep 26, 2005 2:36 am
by Shaneckel
My first home made script... done by shane eckel.

Now I must move on to something bigger, and better.

http://www.shaneckel.com/php/hello2.php

Thanks guys, I'll post back with more questions.

~Quang