Q&A: HOW TO CREATE GOOGLE ADSENSE CODE IN MY BLOGGER POST?

Question by Aris K:
How to create google adsense code in my blogger post?
hi guys,
i want to post a text in blogger
like this:
“Note:
To support me, click these ads
”
(try in on HTML gen)
but, when i vew my blog, the adsense disappeared?
help and many many thanks
——————————————
Answer by Angry Grandma 2.0
That will get you deleted, You can not ask for people to click your ads.
——————————————
Give your own answer to this question below!









about 2 years ago
i don’t think you can, you can do the opposite (adding a javascript code in php code using: echo “code”;), u can try it with jave: print “code”; but i never tried it..
about 2 years ago
in ure php file u just do….
…..blabla…..
document.write(‘< ?php DoWhatever(); ?>‘);
……more blabla…..
Now the php will do the thing it does b4 its sent to the user. If this is ok then there u go
about 2 years ago
That won’t work. PHP is processed on the server’s side; JavaScript is processed on the client side. Thus, any PHP code you enter in a JavaScript document.write() method will simply be ignored by the server, because the server will never see it.
What you really need to do is use AJAX to send a request to a PHP page, and have a PHP page echo back to you a response you can handle with JavaScript.
about 2 years ago
You can do it, but it’s not going to work. PHP runs on server, JavaScript runs on client (i.e., in the Web browser). By the time JavaScript can start running, PHP is done working.