i have following code but unable to get full variable values on return.
<?php
$no7="Girls pink";
$no8="All Categories";
$aw="2";
echo'<table width="auto" border="0">
<tr>
<td width="auto" class="s">'; echo "<a href=search.php?search_name=".$no7."&mydropdown=".$no8."&pno=".$aw.">".$aw."</a>"; echo'</td>
</tr>
</table>';
?>
Thanks for help Regards,
Use urlencode and htmlspecialchars:
Also: add quotes around the URL, and replace
&with&for better HTML syntax.