code for adverts on a website (not webnwap)

Started on the old forum in May 2010 · view the original in the archive · old links redirect here

8 replies · 532 views · started 16 years ago · 1 min read

4 participants
brand Senior · 391 posts #1

hi there friends i am trying to put random adverts on my server web site andi have looked every where for the code for me to do it and i can not find any where i have try doing it like

include ("advert.php");

and its not working it just shows the bit of coding include ("advet.php"); can one of you good coders please help me out and thanks to any one that does help me and i will be very greatfull for all the help i am also after putting my admob adverts on my site as well i have trued

 include ("admob.php"); and ."admob".

and i can not get it to work i am trying to get random adverts going any one help me please

HELP THEM WHO HELPS YOU

External image (may be gone)

i only work on wapdesire v_2 coding only

lee27 Developer · 63 posts #2
?>
<? include ('admobcode.php'); ?>
<?php

try that john

using name geordielee now

lee27 Developer · 63 posts #4

brand wrote: i tryed that as well mate and its not working

fook knws then m8 thats what i use on mine when put ads on and works fine

using name geordielee now

brand Senior · 391 posts #5

lee27 wrote: fook knws then m8 thats what i use on mine when put ads on and works fine

can any one else help me please

HELP THEM WHO HELPS YOU

External image (may be gone)

i only work on wapdesire v_2 coding only

something else Fellow · 2,296 posts #7

brand wrote:

include ("advert.php");

That is perfect way to include advert.php on your site just make sure that its inside <?php and ?> for it to work.

if it still doesnt work then there is something wrong with your advert.php

brand Senior · 391 posts #8

nclemale36 wrote: echo ads(); or wotever your ads function is called and intergrate the file your using into your core

i dont use a core folder for my website dave never have done

HELP THEM WHO HELPS YOU

External image (may be gone)

i only work on wapdesire v_2 coding only

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close