*screams, "I'm such a newbie!!"*
I didn't know I had to declare $PHP_SELF with "global" before using it
inside a function. Sorry! Works now! Thanks very much! =)
"Miguel Cruz" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Are you inside a function, having neglected to do
On Tue, 19 Mar 2002, Dr. Shim wrote:
> Strangley enough, $PHP_SELF is empty. Nothing appears when I do it the way
> Bob and you suggested, the "action" property equals "".
> "Miguel Cruz" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Tue, 19 Mar 2002, Dr. Shim wrote:
> > Hmmm. How about this?
> > echo "<form name=\"frmMovies\" method=\"post\" action=\"" . echo
> > . "\">";
> You're concatenating "echo $PHP_SELF" rather than just $PHP_SELF, which
> isn't necessarily helping. But just between me and you, life would be a
> lot easier if you simply did:
> echo '<form name="frmMovies" method="post" action="' . $PHP_SELF . '">';
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php