I am using dreamweaver and I am having trouble adding google adsense to the website. Anybody have any advice? Thank you.
You must be new to PHP dev. On the pages that you want to put the ads, are there any html content? If so, just copy and paste adsense code. If everything is PHP, just echo/print the code. Make sure you wrap them around quotes and escape the quotes in the adsense code using a \.
Ultimately the thing PHP pages display is HTML, often PHP is embeded as small portions in HTML pages. So the way other HTML is being displayed, same way you can paste adsene code to a PHP page. Hope it helps.
I am new to dreamweaver and php dev, please bare with me. I can't seem to get the entire website to appear in dreamweaver. I am only getting portions of the header images and some boxes that are outlined.
Do you have a server running on your computer? To view what PHP outputs side you need to have a web server running like Apache on your computer (localhost) otherwise upload your scripts to a web host that has PHP & Apache installed. Anyway, this is the wrong section to discuss this post your problem in the development section.
I am using both formats. I have tried copy/pasting the code from adsense and I am not getting anything to appear in dreamweaver.... I do appreciate all the help despite posting on the wrong discussion board. Thanks again.
View your page in a browser not in dreamwaver...what do you see? Do you have a web server running to view your PHP pages? Show a snippet of your code if you can, if you don't want to, no worries.
Just copy and paste the Adsense code to the php pages. If you want to be more professional like, check out a few proxy templates, they've used a nice method to add Adsense on all the pages. I'm not much of a coder, so I can't elaborate it