Heyy
What im trying to do is make a form so that someone can post there web code into a database so it can be showed on different pages ect
I have it all working fine
But
when i put code in like with certain tags it has an error :
eg
echo 'hello world';
then use query to insert to my database i get an error saying the syntax is wrong
Think its due to this ;
its getting the syntax of the posted code mixed to that of the actual code
any help would greatly be appreciated
What im trying to do is make a form so that someone can post there web code into a database so it can be showed on different pages ect
I have it all working fine
But
when i put code in like with certain tags it has an error :
eg
echo 'hello world';
then use query to insert to my database i get an error saying the syntax is wrong
Think its due to this ;
its getting the syntax of the posted code mixed to that of the actual code
any help would greatly be appreciated