<?php $url = 'http://www.example.com/?affid=12345'; $query = parse_url($url, PHP_URL_QUERY); parse_str($query, $vars); echo $vars['affid']; // outputs 12345
You have javascript disabled. You will not be able to edit any code.