Jump to content

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

 

 

Edited by brian429
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.