Click here to Skip to main content
15,896,111 members

Comments by deeeeeeeep (Top 5 by date)

deeeeeeeep 6-Dec-18 1:01am View    
Thank you for the response Richard..!!
deeeeeeeep 5-Dec-18 1:17am View    
issue solved.
Thank you for your response.
deeeeeeeep 4-Dec-18 4:09am View    
Deleted
oh! Let me clear.
hid is returning array filled with either hid or hnm.
If I changed hid with hnm then array hid[] returns only hnm(hobby names) from the add_record page.
This line on Add Employee(Add record) page :
value="<?php echo $value->hid; ?>"><?php echo $value->hnm;?>
Output be like after echo:
["1","2","4"]

If I changed hid with hnm, then array hid[] sent only name.

value="<?php echo $value->hnm; ?>"><?php echo $value->hnm;?>

Then...
Output be like after echo:
["Singing","Bird Watching","Travelling"]


Understanding?
deeeeeeeep 4-Dec-18 2:28am View    
hid is a primary key of table hobby.
Also hid is a reference key of table employee.
deeeeeeeep 4-Dec-18 1:36am View    
Can anyone help me to resolve this issue ?