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
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