Hi guys, newbie here. My boss is working on a site that's going to have a similar front page to match.com, and he wants to pass a variable in the url. I'm not exactly familiar with php, and i have no idea how to go about getting what he wants, all i have are a few examples of code.
The site is in an iframe.
say some one were to type the url
www.sitename.com?c=google
he wanted the SUBID in the iframed url below to change from this:
http://sitename.website.com/p/memsearch.cgi?pid=g937931-pmo.subSUBID&ip=auto&show=T&find_item=7
to this
http://sitename.website.com/p/memsearch.cgi?pid=g937931-pmo.subgoogle&ip=auto&show=T&find_item=7
then he sent me this:
<form action="index.php" method="POST">
<input type="text" name="campaign">
<input type="submit">
</form>
index.php
http://sitename.website.com/p/memsearch.cgi?pid=g937931-pmo.sub<?php
echo $_POST['campaign'];
?>&ip=auto&show=T&find_item=7
sitename.com/google.php
google.php
http://sitename.website.com/p/memsearch.cgi?pid=g937931-pmo.subgoogle&ip=auto&show=T&find_item=7
I hate to sound like a complete noob, but i was hoping someone here would be able to tell me exactly what he's going for and what i need to do to go about doing it.