PDA

View Full Version : dummy trys php



benflippin
08-07-2007, 06:07 PM
so i have the dreamweaver mx.. how would one go about inserting the admob php code into my site...i try but all i get is::dontknow: <",$mob_contents); $mob_ad_text = $mob_link[0]; $mob_ad_link = $mob_link[1]; if (isset($mob_ad_link) && ($mob_ad_link !='')) { //display AdMob Ad echo ''. $mob_ad_text . ' (http://shopindy.mobi/%27.%20$mob_ad_link%20.%27)'; } else { //no AdMob ad, display alternate echo $mob_alternate_link; } ?> :dontknow: when published.

am i missing sumthin? (besides a php education)

any help would be great.:adore:

developmy.mobi
08-07-2007, 08:43 PM
Enter it in the code portion of Dreamweaver, not the actual Design Preview part, I think that might do it.

benflippin
08-07-2007, 10:25 PM
nope, im putting it in the code part...:dontknow:

this is what i have tried.

copy and past php code into the code part save as .html and or have tried .php and publish and i get nothing...admob or adultmoda...

is there anything else anyone could think of?

developmy.mobi
08-08-2007, 01:36 AM
Maybe try exporting your site, and then open the .php file (make sure its a php file) in notepad, and then paste the code where you want it.