Hi Friends I develop a webpage in that i face this problem. please see below.
In user table i have following fields:
- Userid
- password
- Address
- phone
In service table i have the following fields:
- Ser_name
- ser_id
- USER_Refid
All these are in same page in php.
When i add values in service table it stores under the same USER_Refid name .
For example the user xxxx is going to add service means the USER_Refid field contain the same name for all services .
My problem is when the user add values in services table and forgot to add the values in user table means i want to delete the values that inserted by that particular user . Please help me to solve this , Thanks in advance.