joined:Nov 10, 2006
Please advise what is wrong with the following:
$query = "INSERT INTO reports (summary) VALUES ('$rep_summary')";
If I change the variable to just 'rep_summary', the database gets updated.
I have echoed the variable $rep_summary (this value is coming from my function) and it spits out the contents that I need to update my database with.
I have spent quite a few hours trying to figure this out, but have no joy as yet.
Any suggestions, ideas, advise would be highly appreciated.