Ron wrote:
I am stuck again. If on the admin screen someone clicks UPDATE
ADDRESS the address change is saved. BUT if I try to do an address
change and then click UPDATE ENTIRE ACCOUNT the address change isn't
saved.
logical. It is not well structured.
When clicking UPDATE ADDRESS you
hi..
- Original Message -
From: Ron Piggott [EMAIL PROTECTED]
To: PHP DB php-db@lists.php.net
Sent: Monday, March 19, 2007 4:26 AM
Subject: [PHP-DB] IF ( $_POST['submit'] == Update Subscriptions
OR$_POST['submit'] == Update Entire Account ) {
I am wanting to ask a question about IF
Wouldn't the simplest solution be to update the entire account all the time?
You are presenting all the data to the user each time any way...so updating
the record is a given anyway.
The benefits are that the sql is simplified since there are only two
statments (insert and update) and the