On Saturday 25 January 2003 18:27, Frank Keessen wrote:
> But when i'm using IF Else.. Nothing is happening. I'm only seeing the form
> but when i submit that form: The $vname doen't display..
>
> Here is the code that doesn't work:
>
> <?php
> $vname=$_POST['vname'];
> if($submit) {
Try some basic debugging techniques like echo ($submit). You'll see nothing,
hence that IF clause fails.
If register_globals is not enabled then you need to use $_POST['submit'] (just
as you had to use $_POST['vname']).
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Confidence is simply that quiet, assured feeling you have before you
fall flat on your face.
-- Dr. L. Binder
*/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php