Re: [PHP-DB] HTTP 404 ERROR From: CC Zona (cczona <email protected>)
Date: 11/16/00

In article <B6386A5B.639E%burney <email protected>>, burney <email protected>
(Paul Burney) wrote:

> >> <form method="post" action="<?php echo $PHP_SELF?>">
> >
> > Have you tried echoing $PHP_SELF to screen to check its value? I think I
> > read somewhere that the closing "?>" likes a space in front of it, in
> > which
> > case the form action may not be what you're expecting.
>
> You should probably also put a semicolon (;) after the $PHP_SELF just for
> good form.

If the lack of a semi-colon does turn out to be the problem, then you
should submit a bug report. From the PHP manual <
http://php.net/manual/language.basic-syntax.instruction-separation.php>:

"The closing tag (?>) also implies the end of the statement, so the
following are equivalent: <?php echo "This is a test"; ?> <?php echo
"This is a test" ?>"

-- 
CC

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>