Maison > Article > développement back-end > php输出html有关问题,
php输出html问题,!急
如何把php输出的html代码加入到网页中并显示,php输出的代码是一个广告页面!
这个是showads.php
<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--><?phpecho <<<eof<p> <script type="text/javascript"> google_ad_client = "pub-3381531532877742"; google_ad_slot = "7423315034"; google_ad_width = 728; google_ad_height = 90; </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <p> <script type="text/javascript"> google_ad_client = "pub-3381531532877742"; google_ad_slot = "7423315034"; google_ad_width = 728; google_ad_height = 90; </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </p>eof;?>