I am doing a sample project right now?I am getting this error when i am edititng the record in the database.
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'qwer,companyname='qwer' WHERE id='15'' at line 1
You're also missing the where clause in the search.php page though. that would probably help.. but again, that's a pull query and your error is on an update which isnt in that code you posted..
Whereever that error is, it's missing a quote in the value though.. you have an unterminted value (qwer) qwer,companyname='qwer'..
it should be sqlstring...qwer', companyname='qwer' where id='15'
Bookmarks