|
Hi,
PHP Code:
<a href="home.php?user=<?php echo $id ?>&adr=<?php echo $adr[$j]?>"><?php echo $tt[$j] ?></a><br>
PHP Code:
echo "<a href='home.php?user=$id&adr=$adr[$j]'>$tt[$j]</a><br>";
I have tried both of this code to pass the value of adr to the page mentioned but the & symbol is not in the url... I still cannoot get the value of adr using $_GET.
In url box:
...home.php?user=abc&adr=def
but when mouse-over the link:
...home.php?user=abcadr=def
Is there anything wrong? I even try
<a href="home.php?user=<?php echo $id;?>&adr=<?php echo $adr[$j];?>"><?php echo $tt[$j]; ?></a><br>
I test on IE7, the & is visible but in the end I still cannot get the value using $_GET.
Please advise.... Thank you. |
|
|
|
|
|
|
|
<a href="home.php?user=<?php echo ($id . "&");?>adr=<?php echo ($adr[$j]); ?>"><?php echo($tt[$j]); ?></a><br>
Try code ni, OK ke idak. |
|
|
|
|
|
|
| |
|