28, May 2012

Ads Triggered by Keywords Used to Get To My Site From Search Engines - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP
Topic: Ads Triggered by Keywords Used to Get To My Site From Search Engines
« previous next »
Pages: 1 [2] Print
Instabuck - The easy way to sell digital products online

Author Topic: Ads Triggered by Keywords Used to Get To My Site From Search Engines  (Read 2456 times)
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #20 on: Feb 20, 2007, 11:30:54 am »

or maybe this?

$keyword_array[] = "value1";
$keyword_array[] = "value2";
$keyword_array[] = "value3";
...

Pinoy Webmaster
.com pimp
*****
Gender: Male
Posts: 1126
6048 credits
Members referred : 0


Philippine Beaches


« Reply #21 on: Feb 20, 2007, 11:55:20 am »

i already have the script which will harvest keywords from SE and store it to the variable "$keyword" as in the script i posted above.

$keyword = preg_replace($search, $replace, $keywords[1]);

search terms are always composed of a few words, for example "free filipina penpals" so the value of $keyword = free filipina penpals

so how can i make it like...

$keyword_array = array("free", "filipina", "penpals");

is it like this, i know its wrong since i already tried it and its not working.

$keyword_array = array($keyword);
« Last Edit: Feb 20, 2007, 12:02:53 pm by vbignacio »


Last blog : Bingag Beach, Bohol, Philippines
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #22 on: Feb 20, 2007, 11:59:11 am »

$keyword_array[] = $keyword;

easy or not Cheesy

I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #23 on: Feb 20, 2007, 12:04:45 pm »

I think what you want is :

$keyword_array explode(' '$keyword);?>

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #24 on: Feb 20, 2007, 12:06:36 pm »

I think what you want is :

$keyword_array explode(' '$keyword);?>

yes right if "free" is a keyword Wink

and Nick you're replacing the array, he want to add extra values

Pinoy Webmaster
.com pimp
*****
Gender: Male
Posts: 1126
6048 credits
Members referred : 0


Philippine Beaches


« Reply #25 on: Feb 20, 2007, 12:07:06 pm »

ngek! you mean just like that? im so clueless...


Last blog : Bingag Beach, Bohol, Philippines
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #26 on: Feb 20, 2007, 12:15:47 pm »

Ok then let me drink my coffee and I will come back to check the code Tongue

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Pinoy Webmaster
.com pimp
*****
Gender: Male
Posts: 1126
6048 credits
Members referred : 0


Philippine Beaches


« Reply #27 on: Feb 20, 2007, 12:19:46 pm »

i can finally sleep tonight. i've already spent 2 nights without enough sleep figuring out whats wrong with that script. at last... thank you gentlemen!


Last blog : Bingag Beach, Bohol, Philippines
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=6032
Tags : keywords search engines Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: 1 [2] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP
Topic: Ads Triggered by Keywords Used to Get To My Site From Search Engines
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 05:03:41 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.