I have a mysql query like:
I've tried changing the ('s and )'s to ( and ) but when I load the page, the html codes get changed back to ('s and )'s and then tried to be put into the database... this is causing problems, because mysql thinks its done, and doesn't know what to do with the rest of it, so I get a big nasty error...PHP Code:$where = "INSERT INTO news
(author, date, newstitle, newstext, category) VALUES (
'Sample',
'NOW()',
'Where am I?',
'I was built in a small town, that is called, Dongola. By someone who goes by the name of Ja (imagine a y at the end of that, and you'll know how to pronounce it). His real name is Jacob, and he works for a familly owned computer store named, C & S Consulting. Ja, was 15 years old when this part here was typed, but 16 days after that, he would turn 16. I know, I know, the section was titled "Where am I?" but I got carried away, and most of this should have been in the "About" section, but what I put there, had nothing to do with "About" but I put it there anyway.',
'index'
)";








Bookmarks