Jump to content

How Would I do this while passing Keywords


brian429

Recommended Posts

<?php $id = $_GET['keyword']; echo $id;?>

Using my site as http://my site/?keyword=32 - this is just a example would actually be http://my site/?keyword={age:30-50} and the platform I am advertising on passes the age that way.

 

I am curious is there a way to use If for example

 

if $id > 29 or  <34 $age = 30 - 34

if $id > 29 or <39 $age = 35 - 39 

 

and so on so it looks more targeted to the user,  I feel  the above code would look to fake if it called out there exact age.

 

Thanks in advance

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.