Hello Programming Wizards, I am looking add dynamic keyword insertion on my pages and when i paste this code into the site and test it I get errors, here is the code
Using PHP for Dynamic Landing Pages
8
Hello Programming Wizards,
I am looking add dynamic keyword insertion on my pages and when i paste this code into the site and test it I get errors, here is the code
<?php
if ($_GET['kw'])
{echo ucwords($_GET['kw']);}
else
{echo ucwords("Default Text");}
?>
I save the site as.php and copy the code in where I want it, but now luck.
Ideally I would like to paste the code in the title tag, website body copy, and at the bottom of the site so the keyword becomes the anchor text for an outbound link on the bottom of the page.
Can someone help with this? Thanks
Eric
I am looking add dynamic keyword insertion on my pages and when i paste this code into the site and test it I get errors, here is the code
<?php
if ($_GET['kw'])
{echo ucwords($_GET['kw']);}
else
{echo ucwords("Default Text");}
?>
I save the site as.php and copy the code in where I want it, but now luck.
Ideally I would like to paste the code in the title tag, website body copy, and at the bottom of the site so the keyword becomes the anchor text for an outbound link on the bottom of the page.
Can someone help with this? Thanks
Eric
- ehicks727
- Ross Dalangin
- [1] reply
- ehicks727
- AndyBlackSEO
- Eric Dick
- [1] reply
- ehicks727
- [1] reply
Next Topics on Trending Feed
-
8