[PHP-WIN] Re: isset() question

2004-03-29 Thread Jason Barnett
Anthony Ritter wrote: The following script is from Kevin Yank's book (Sitepoint). When I test it _without_ entering a name in the text box and hit submit, the _next_ page loads - however the same page should load beacuse of the conditional if (!isset($name) ): . If I replace !isset

[PHP-WIN] Re: isset

2002-06-25 Thread Peter
You can do if(!isset($_POST['email'])) { go_back(); } else { print "Thanx"; } or if($_POST['email'] == "") { go_back(); } else { print "Thanx"; } "Jan - Cwizo" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi > > I am a building a guestbook as a course of my