hi all...
pls help me... i have a problem with editing the record...
my adding and editing page are same.... adding works properly but while editing a record
for ex : if i change the emailid of a record and if the newly given emailid is already exists in the db it shows a error msg that the mailid is already exists... but while showing error msg the edit page changes to the add page.....
can any one help me to fix this problem....
tnx in advnc....
amith_ami
0
Junior Poster in Training
Recommended Answers
Jump to PostPlease show your code - forms and handling code.
Jump to PostLine 32:
$sql="INSERT INTO tbl_candidate(email_id) VALUES('$email_id1');
has a missing quote before the semi-colon.
Line 39:else{
is missing the preceding curly brace.
Fix those, see what happens.
All 6 Replies
diafol
amith_ami
0
Junior Poster in Training
adam.adamski.96155
43
Junior Poster
amith_ami
0
Junior Poster in Training
adam.adamski.96155
43
Junior Poster
amith_ami
0
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.