On my website i would like to allow people to insert their
own
javascript/html into the fields in order to change
backgrounds and add
pictures and movies clips to their sites
literally i need to enter javascript as it is into
Mysql......using php
a basic code for just the background would be
---------------------
<style type="text/css">. {Page Body
Property}
body {
background-image:url('ht
tp://www.squaredotproductionz.com/pics/sdot1.jpg');
</style>
-----------------------
if i save that above text as $textbox1 and then add to the
insert
function below i get a error message
$sqlquery = "INSERT INTO profile1 VALUES (' ', '
$user', '$textbox1')";
$results = mysql_query($sqlquery);
does anyone know how to use php to insert javascript into
Mysql
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "PHP & MySQL" group.
To post to this group, send email to phpmysql googlegroups.com
To unsubscribe from this group, send email to
phpmysql-unsubscribe googlegroups.com
For more options, visit this group at ht
tp://groups-beta.google.com/group/phpmysql?hl=en
-~----------~----~----~----~------~----~------~--~---
|