Re: [PHP-DB] IF ( $_POST['submit'] == "Update Subscriptions" OR $_POST['submit'] == "Update Entire Account" ) {

2007-03-21 Thread Vicente
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 ADDRE

Re: [PHP-DB] IF ( $_POST['submit'] == "Update Subscriptions" OR $_POST['submit'] == "Update Entire Account" ) {

2007-03-19 Thread bedul
hi.. - Original Message - From: "Ron Piggott" <[EMAIL PROTECTED]> To: "PHP DB" 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 statements.

RE: [PHP-DB] IF ( $_POST['submit'] == "Update Subscriptions" OR$_POST['submit'] == "Update Entire Account" ) {

2007-03-18 Thread Bastien Koert
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 code