Ver Mensaje Individual
  #7 (permalink)  
Antiguo 04/06/2013, 14:31
Avatar de alealvaro
alealvaro
 
Fecha de Ingreso: junio-2004
Ubicación: BA - Argentina
Mensajes: 210
Antigüedad: 19 años, 10 meses
Puntos: 12
Respuesta: ¿Como inserto el codigo de ADS en una variale PHP?

Si usas comillas simples?

Código PHP:
Ver original
  1. <?php
  2. $ads300 = '
  3. <script type="text/javascript"><!--
  4. google_ad_client = "ca-pub-3XXXXXXXXXXXXXX";
  5. google_ad_slot = "0000000000";
  6. google_ad_width = 300;
  7. google_ad_height = 250;
  8. //-->
  9. </script>
  10. <script type="text/javascript"
  11. src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
  12. </script>';
  13.  
  14. $ads338='
  15. <script type="text/javascript"><!--
  16. google_ad_client = "ca-pub-3XXXXXXXXXXXXXX";
  17. google_ad_slot = "0000000000";
  18. google_ad_width = 336;
  19. google_ad_height = 280;
  20. //-->
  21. </script>
  22. <script type="text/javascript"
  23. src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
  24. </script>';
  25. ?>
__________________
Always learning a little more...
Videos y frases para dedicar
Quotes and Phrases for You