mbudd85 Posted March 7, 2010 Share Posted March 7, 2010 Ok, to start off I am pretty much a noob to Php, I can set it up but I cannot really code it at all, though I would like to learn. My problem is I am trying to add some sponsors to my site but i'm not sure how to code the script to add them in. Any help would be GREATLY appreciated. } echo" </td> </tr> </table>"; echo"<div class='sidebar-con4'><div class='sidebar-title4'><div class='sidebar-title-text'>Site Sponsor</div></div> <table width='100%' align='center' border='0' cellspacing='0'> <tr><td background='$config[cellbg]' align='center'><script type=\"text/javascript\"><!-- google_ad_client = \"pub-5592824295977689\"; /* 728x90, created 05/02/09 */ google_ad_slot = \"2665967246\"; google_ad_width = 728; google_ad_height = 90; //--> </script> <script type=\"text/javascript\" src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\"> </script></td></tr> </table></div>"; if($index == yes){ echo"<div class='sidebar-con4'> <table width='100%' align='center' border='0' cellspacing='0'> <tr><td background='$config[cellbg]' align='center'> <div id='emaf'> <a href='http://www.adobe.com/go/getflashplayer'> <img src='http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /> </a> </div></td></tr> </table></div>"; } ?> and the other is: echo" <div class='sidebar-con'><div class='sidebar-title'><div class='sidebar-title-text'>Sponsor</div></div> <table width='100%' align='center' border='0' cellspacing='0'> <tr><td><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' width='290' height='210' title='misc'> <param name='movie' value='./misc.swf' /> <param name='quality' value='high' /> <embed src='./misc.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='290' height='210'></embed> </object></td> </tr>"; echo" </table></div>"; The second one is probably going to be a image rather then a swf. Thank you so much for anyone who can help me out. Link to comment https://forums.phpfreaks.com/topic/194460-php-image-help/ Share on other sites More sharing options...
ohdang888 Posted March 8, 2010 Share Posted March 8, 2010 http://lmgtfy.com/?q=html+tutorial Link to comment https://forums.phpfreaks.com/topic/194460-php-image-help/#findComment-1022835 Share on other sites More sharing options...
mbudd85 Posted March 8, 2010 Author Share Posted March 8, 2010 I've been on google all day trying to figure this out. Call me crazy but I think a search for "html tutorial" isn't going to help me much. I wouldn't be posting for other peoples help if I could figure it out myself. Thanks anyway... Link to comment https://forums.phpfreaks.com/topic/194460-php-image-help/#findComment-1022850 Share on other sites More sharing options...
ohdang888 Posted March 9, 2010 Share Posted March 9, 2010 Call me crazy but I think a search for "html tutorial" isn't going to help me much. Sorry bud, thats exactly your problem. If you're wanting to simply place an ad on your site, you'll need to use html. either the <img> tag for an image... or a <script> tag, for importing google ads, etc, to the page. If its google ads, its literally a matter of copying and pasting. Link to comment https://forums.phpfreaks.com/topic/194460-php-image-help/#findComment-1023313 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.