Little PHP question

antsaoo

Supreme Member
Joined
Oct 1, 2008
Messages
1,291
Reaction score
649
I was thinking making little pages for adwords to get better score. So my idea was like this :


i could make php file where you enter the keywords + href link so it looks something like legit ;P atleast for spiders.

is it doable something like $keyword in text ? ie



now you can get $keyword for half price don't wait anymore go to our website and buy $keyword now since this wont last long bla bla bla

Allso support for like 3 keywords like be nice

$keyword
$keyword 2
$keyword 3

Then just write some template text which would make somewhat sense and then add the keywords to places they belong to :)

thnx
 

ukescuba

Senior Member
Joined
Feb 24, 2008
Messages
994
Reaction score
640
1) create a new file and call it keywords.php add the following code inside it:

<?php
$keyword1 = 'your keyword one goes here';
$keyword2 = 'your keyword two goes here'
$keyword3 = 'your keyword three goes here'
?>

2: create a new file for your keyword page save it as a .php file

include the following code at the begining of your page make sure the path is correct:

<?php
include_once ('keywords.php');
?>

3: wherever you want to view your keyword in your page just place the following code:

<?php echo "$keyword1";?>

For example:

<?php echo "now you can get $keyword1 for half price don't wait anymore go to our website and buy $keyword1 now since this wont last long bla bla bla";

you can also use the method in your meta tags and title tags...

HTH it should work... but then again i just got up and feel like crap! :(
 
Top