Hi, I Need Help With This Php Code : - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › Hi, I Need Help With This Php Code : (1102 Views)
| Hi, I Need Help With This Php Code : by sandy0000(op): 10:32am On Sep 11, 2012*. Modified: 11:08am On Sep 11, 2012 |
I am using the code below to insert adsense code into my joomla modules. The ctr for these is so good. I would like to edit the code to display 2 more ads on the 8th and 12th count. Please how can I insert additional banners : <?php $counter++; if ($counter == 8 ) { ?> <tr><td> Adsense Code </td></tr> <?php } ?> |
| Re: Hi, I Need Help With This Php Code : by Nairaface: 12:33pm On Sep 11, 2012 |
sandy0000: I am using the code below to insert adsense code into my joomla modules. The ctr for these is so good. I would like to edit the code to display 2 more ads on the 8th and 12th count. Please how can I insert additional banners :<?php $counter++; if ($counter == 8 ) { <tr><td> Adsense Code </td></tr> } Elseif ($counter == 12 ) { <tr><td> Adsense Code </td></tr> } Else { Default action } ?> I didn't test the above so pls do. |
| Re: Hi, I Need Help With This Php Code : by eazyd(m): 1:12pm On Sep 11, 2012 |
sandy0000: I am using the code below to insert adsense code into my joomla modules. The ctr for these is so good. I would like to edit the code to display 2 more ads on the 8th and 12th count. Please how can I insert additional banners :One open short tag should work fine, just like the above. |
| Re: Hi, I Need Help With This Php Code : by veetubes: 10:43am On Sep 12, 2012 |
sandy0000: I am using the code below to insert adsense code into my joomla modules. The ctr for these is so good. I would like to edit the code to display 2 more ads on the 8th and 12th count. Please how can I insert additional banners :i believe your question has been answered by nairaface |
| Re: Hi, I Need Help With This Php Code : by sandy0000(op): 7:03am On Sep 19, 2012 |
Thank you so much guys. I love you Nairalanders ! |
Pls Help Me With This Php Code • Help On Php Code For A Dice Game • Help With This Php Code. • 2 • 3 • 4
American Bank Offers $1M To Anyone Able To Solve This Mathematical Equation • How To Create A Simple Cost Calculator? • ...