Forum Moderators: coopster
I've coded a php page to do this with a web form (post variables, get variables, perform search from url). Could it be done with just a php function though?
I'm thinking something along the lines of:
function ($url,$param)
{
if(!$params) return $url;
$tempurl = $url
if(strpos($tempurl,'?') === false) $tempurl .= '?'; //Adds ? to end if not exist.
$newresult = $tempurl .'test_string=' . $query;
//This would output newresult as something along the lines of "http:www.url.com?test_string=paramcontents"
//Then perform the query on the url.
}
Since php is server side I don't think it could be done.
And Welcome to Webmaster World! :)
Also, am I alone here in the idea that simply coding a form to pass the parameters is alot more efficient?
And thanks! Pretty cool place.