Posted by chuck
2014-05-01

I added a new table and created new forms in addition to the customer and staff elements. everything works except the Save button inside ADD or Edit does not write to MYSQL. Just a blank screen. Delete works however as does all reporting. I basically copied the customers files, edited and published. Again, the search and details pages are fine. Just can;t save to DB. Ideas?
Posted by Tom
2014-05-02

Hi Chuck,

>Edit does not write to MYSQL. Just a blank screen.

You may want to check if clicking the save button really takes you to the appropreate backend code.
Open web/staff/app/cls_ps_(your-new-tablename).inc.php find this line:
case 'edit_done':
You should reach this line when you click the save button on the edit page. Place a test code below the line like this.
case 'edit_done':
echo "I am here!";
Now click the save button to see if the page displays "I am here!" I know this won't solve your problem immediately, but this is the first step toward it.