Re: This is weird..whts the prob???
| From: | - Edwin - | Date: | Fri, 05 Nov 2004 14:43:23 +0000 |
| Subject: | Re: This is weird..whts the prob??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201284@lists.php.net to get a copy of this message | ||
Hi,
On Fri, 5 Nov 2004 22:55:20 +1030
"Aalee" <ayyaali@hotmail.com> wrote:
> Hi guys,
> Working on PHP ver 4.3.8 with register_globals turned OFF
> and Apache 1.3.31. MySQL ver 4.0.20a on winXP pro SP1. This
> script does not seems to work with the method of POST. When
> I change it to GET method the data is entered into the
> database, but with POST it does not. I have another script
> with the POST method, but that script works with POST. What
> is wrong with this script. Here goes the script. What am I
> doing wrong.
>
> <?php
> if (isset($_GET['addjoke'])){
> ?>
[...]
Try changing that $_GET to $_POST ...
--
- E - copperwalls was here ;)