I'm trying to submit form elements using PHP_SELF.
Here is the form code line:
<form action="<?php echo "$PHP_SELF";?>?comp=selectmach&clientid=<?php echo "$clientid;"?>" method="GET">
The resulting url is:
www.mysite.com/index.php?clientid= whatever the clientid is set to. My problem is that the section comp=selectmach does noes not appearand I do not know why. I've tried single quotes on $PHP_SELF and $clientid, but with no success. I've tried using POST which gives the correct url variables except the clientid is always equal to whatever the default select value is from the drop-down menu.
Any ideas?