It's been bugging me for a little while....what kinda field must I use so I can have a single quote displayed in a database?
I know what your thinking.....I've been able to INSERT them also.....but I can't UPDATE with them.....I know why they return errors....but I don't know how to get around it.
Could it be the code of the script that does the inserting?....like:
mysql_query(INSERT into $dbtable (field1,field2) VALUES ('$field1','$field2'));
//if field1 has a ' obviously it will stuff things up.
Should it be...
mysql_query(INSERT into $dbtable (field1,field2) VALUES ($field1,$field2));.....?
I've tried VARCHAR....BLOB....TEXT.....sometime's it works and sometimes it doesn't......whats the catch?
regards,
scott d~