Re: php parses but no data inserted
| From: | Marek Kilimajer | Date: | Tue, 21 Sep 2004 13:43:01 +0000 |
| Subject: | Re: php parses but no data inserted | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-197418@lists.php.net to get a copy of this message | ||
luke@lukem.co.uk wrote:
hi there, the following code runs but no message is displayed from the if then else statement at the end of the script. also, nothing is written to the database. i have checked the insert statement and the login credentials are correct.does anyone know what might be causing this?
// if the submit buttons has been pressed if (isset($_POST['submit'])){Is the submit button name/value pair being posted? Add else clause to the condition and echo something.