Re: PHP not posting
| From: | Tijnema | Date: | Sun, 24 Jun 2007 15:00:09 +0000 |
| Subject: | Re: PHP not posting | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-257727@lists.php.net to get a copy of this message | ||
On 6/24/07, Pieter du Toit <pieter@lpwebdesign.co.za> wrote:
Nothing major here is the code: <? ^^ Do you have short tags enabled?, try <?php
if ($_POST['name']) {Not the right way to check, you should use: if(isset($_POST['name']) {
echo "name posted"; } ?> <html code>If that still doesn't work, try a var_dump($_POST) at top of your script, and see if there's anything inside. Tijnema
"Stut" <stuttle@gmail.com> wrote in message news:467E81F8.2050700@gmail.com... Pieter du Toit wrote:-- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.infoMy amazing psychic abilities tell me that... ...you need to show us your code before we can have any chance of helping. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpI installed PHP5 on iis and i can see "hello world" and phpinfo. When i right click the webpage and view source, i can see the php code, and the form does not want to post the form details. Will appreciate any help.