Hvorfor går det altid galt for mig når jeg prøver at oprette en element.
Jeg vil gerne have denne her kode ind som et element i venster side
Kode <script type="text/javascript"><!--
google_ad_client = "ca-pub-8002836078175887";
/* Cheap */
google_ad_slot = "3294905591";
google_ad_width = 160;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
Men får denne fejl
Kode Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/cheaponl/domains/cheaponline.dk/public_html/administration/panel_editor.php(150) : eval()'d code on line 2
Koden ser sorn her ud
Kode openside("Google");
echo "<script type="text/javascript"><!--google_ad_client = "ca-pub-8002836078175887";
/* Cheap */
google_ad_slot = "3294905591";
google_ad_width = 160;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>";
closeside();
Hvad gør jeg galt?
|