Hey... i know this has probz been asked a million times before but i cant find a discussion that is in the same context as what i am looking for.. Heres my situation.....
I have a forum and i have a column in one of tables that is titled 'last_post_title'. I'm sure you can guess what is held in it... so basically it works fine but the problem comes if someone adds a title such as 'Heaven's Above' due to the fact is has an apostrophe in it so when i come to call the title as follows at a later date:
"SELECT name FROM Forum_table WHERE last_post_title='$lastposttitle'" it gives me an error due the fact that $lastposttitle contains an apostrophe..
So basically what i'm asking is: is there a way for someone to enter a title containing an apostrophe without it causing errors when called upon at a later date??
Hope this makes sense....
Cheers... BIOSTALL