Click to See Complete Forum and Search --> : how to retrieve data after pass


horiyochi
01-14-2004, 08:22 PM
i'm using this command to pass value

onClick='window.open("test.php?id=<?php echo $key?>")'

it manage to pass to test.php page

in the address bar appears test.php?id=1

how can i get the '1' in the address bar??

any help will be appreciated

pyro
01-14-2004, 09:01 PM
Quite simple - access the GET array:

echo $_GET['id'];