Ok i am a real noob and this is my first shot at a "real" php script.
I am trying to get data from an html form and use it to build a url and then open that url.
here is what i have so far.
an html form in a seperate html file that posts to my php script.
the list menu i would like to process i have named $dkp
in my php file, I wanted to make sure it was building the url correctly so here is what i have so far.
<?php
//First set the option for the back end of the url
$urlback = 'wowguilddkp.com';
//now process the tag from the form
$urlfront = '$dkp';
//now piece it together
$url = "http://'$urlfront'.'$urlback'";
//test the output
echo "the link made by this script is '$url'";?>
when i process the form i get this as a result.
the link made by this script is http://$dkp.wowguilddkp.com
- why is the php script not getting the data from the html field?
thanks to all in advance.
chris