Ok, here is the looooong story for what is hopefully an easy fix.
All of the files listed here are included in the zip file and a live TEST version of all this can be found at http://www.on-sitetechsupport.com/test/
Feel free to add and change anything here, this is a test db.
I schedule customers through my website and i want current customers to be able to login and have all their information populated in an editable form in addition to the scheduling fields.
I am able to call the data based on email address and have it populated in the form:
If the user DOES NOT change any of the prepopulated information, the data is submitted into the proper tables in the database and the correct information is sent via email.
If the user CHANGES any of the prepopulated data,(address, phone #, etc ) the updated data is entered into the appointments table and emailed, but the data is not updated in the customers table.
i have a file called custlist.php (which is in the zip file) that calls all the customers in the db and each of them is editable. The update functon here (custupdated.php)works fine, when i call the update_and_schedule_cust.php it works fine.
When get_cust.php (this is the page that displays the called info based on them entering their email address) calls either custupdated.php or update_and_schedule_cust.php it does not work. This makes me think there is a problem with get_cust.php however i can't find it.
Whew, that wasn't as bad as i thought it would be.
Any help is greatly apreciated.