Please help.
I have created a site that schedules events. The main table called Schedule has the following fields
ID (auto-incr)(primary)
User (the user who added the record)
Case (lookup field to populate the Property, State, CAID, CA, CLNA, RTCOrder fields)
Scheduled
Property (populated from Case field)
State (populated from Case field)
CAID (populated from Case field)
CA (populated from Case field)
CLNA (populated from Case field)
RTCOrder (populated from Case field)
Date CreateID - (TimeStamp)
I want to create another table called Ext_Schedule with the same fields that outside users can add to the schedule, but for me to approve
When outside users login they can access the Ext_Schedule and add to this table. When I log in and Edit the Page, I want to put a button on the EDIT page that when I click it. It will copy the the record into the Schedule table.
The issue I have fun into is that when I tried to do this before it returns error saying that ID is not unique.
I am new to PHP and mysql so any help would be great.