Re: [PHP] if conditional

2002-10-15 Thread Bob Irwin
If the code isn't working, its because you weren't using a $name in the first if statement. Always the little things ! :) But this should work... if (!$name) { print "please enter your name."; } if (!$email) { print "Please enter you e-mail"; } > > > Hello, > > > > I would like to how

Re: [PHP] if conditional

2002-10-15 Thread Maxim Maletsky
You confused us. Would you like to explain us exactly what you meant? Maybe with mentioning us your reasons/goals. -- Maxim Maletsky [EMAIL PROTECTED] www.PHPBeginner.com // where PHP Begins On Tue, 15 Oct 2002 15:31:14 +0800 "Muhammad Khairuzzaman" <[EMAIL PROTECTED]> wrote: > Hello, >

[PHP] if conditional

2002-10-15 Thread Muhammad Khairuzzaman
Hello, I would like to how to know how to create an if conditional with only one condition. Can some one tell me the way to do this. This is my previos code : < if (!name) { print "please enter your name."; } exit; if (!$email) { print "Please enter you e-mail" } exit; ?> -- PHP General Ma