Re: PHP calling PHP?
От | Chris Smith |
---|---|
Тема | Re: PHP calling PHP? |
Дата | |
Msg-id | 01051015233100.28891@area51.cybersydney.com.au обсуждение исходный текст |
Ответ на | Re: PHP calling PHP? (Grant <grant@conprojan.com.au>) |
Ответы |
RE: PHP calling PHP?
Re: PHP calling PHP? Re: PHP calling PHP? Re: PHP calling PHP? |
Список | pgsql-php |
> > > echo "<FORM ACTION=\"$PHP_SELF\" METHOD=\"POST\">\n"; > > > > Ack! You could do this for much better readability instead: > > echo "<FORM ACTION='$PHP_SELF' METHOD='POST'>\n"; Different quotes do different things in PHP, just something to remember... If you did echo '$PHP_SELF' (single quotes) it won't print the variable value, it will print the variable name.. (easy to get caught on!).. eg <? echo "PHPSELF = $PHP_SELF<br>"; echo 'PHPSELF = $PHP_SELF<br>'; ?> prints out.. PHPSELF = test.php PHPSELF = $PHP_SELF
В списке pgsql-php по дате отправления: