[thelist] PHP/NN4: Using <?echo $PHP_SELF?> vs. <?$PHP_SELF?>

Mark Howells mark at mountain.ch
Wed Jan 30 10:38:01 CST 2002


Am Mittwoch den, 30. Januar 2002, um 17:27, schrieb Bill Haenel:

> When I use this:
>
> 	<form action="<?$PHP_SELF?>" method="post"...
>
> I get the effect of having no form action at all in NN4.
> Am I nuts? What am I missing here?

An equals sign. <?=$PHP_SELF?> is the correct (abbreviated) use of
<?echo($PHP_SELF);?>

Regards
Mark Howells
<http://www.mark.ac/evl>




More information about the thelist mailing list