Re: Value of $_POST['submit']
| From: | Yves Sucaet | Date: | Fri, 28 Nov 2008 01:47:51 +0000 |
| Subject: | Re: Value of $_POST['submit'] | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-45742@lists.php.net to get a copy of this message | ||
Hi Ron,
What's your Javascript client-side code to invoke the PHP-script? You may need to switch to $_GET[] instead of $_POST...
Yves
----- Original Message ----- From: "Ron Piggott" <ron.php@actsministries.org>
To: "PHP DB" <php-db@lists.php.net>
Sent: Thursday, November 27, 2008 7:02 PM
Subject: [PHP-DB] Value of $_POST['submit']
I am working on the following web page tonight: http://www.actsministrieschristianevangelism.org/verseoftheday/ I am trying to program the "Load Previous Issue" "Random Issue" and "Load Next Issue" buttons. I am using Ajax to pass the date the user is requesting to the PHP script for processing. I am wondering how my PHP script may access the value of value of $_POST['submit']. At present echo $_POST['submit']; doesn't give me a value. Consequently all queries to the mySQL database fail. Ron -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php