note 22634 deleted from function.parse-str by dams
| From: | dams@php.net | Date: | Fri, 28 Jun 2002 01:37:34 +0000 |
| Subject: | note 22634 deleted from function.parse-str by dams | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-32318@lists.php.net to get a copy of this message | ||
A newbie discovery:
My OS is Win2000 pro, and I'm running Apache HTTP Server 2.0.36 with PHP-4.2.1Win32 as cgi. My
configured my httpd file exactly as the site: http://www.thickbook.com/extra/php_apachephp4_win.phtml
specified. Works great but I was receiveing:
parse error: unexpected T_Print in ....
from my html form in my results page.
By changing
<? php
print "$variablename";
?> (code I got straight from a text book)
to
<?
print "$HTTP_POST_VARS[variablename]";
?>
it worked like a charm.
Hope this helps someone!