How do I parse this "q" value in the URL?
I have now tried in php and html, but it baffels me.
It's HTML
<form name="search" method="post" action="unit_detail.php?view=<?php echo $q; ?>&incident=<?php echo $q; ?>">
<td width="59%" height="67">
<? echo "<input type='text' name='q' >" ; ?>
</td>
<td width="41%">
<input type="hidden" value="<?php echo $q; ?>">
<input type="submit" name="Submit" value="Search">
</td>
</form>
This form forwards where I have a
if ($view){}
if ($view){}
Any suggestions guys?
Thanks