i have a problem with javascript into php (simple problem)
Posted: Mon Jun 25, 2012 11:59 am
i have a problem with javascript into php (simple problem)
--------
when i edit the database manualy... my code is:
but with a control panel ($_POST)....my code changes to:
i mean:
with control panel $_POST: before the ' " ' i have /...like this: ' \" '
database manualy: with no problem...without \...
any solutions :S ?
--------
when i edit the database manualy... my code is:
Code: Select all
<script type="text/javascript">google_ad_client = "zzzz";
google_ad_slot = "zzzz";
google_ad_width = 160;
google_ad_height = 600;
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
Code: Select all
<script type=\"text/javascript\">google_ad_client =\ "zzzz\";
google_ad_slot =\ "zzzz\";
google_ad_width = 160;
google_ad_height = 600;
</script>
<script type=\"text/javascript\"
src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">
</script>
with control panel $_POST: before the ' " ' i have /...like this: ' \" '
database manualy: with no problem...without \...
any solutions :S ?