Hi
i am new in PHP. And i am faced with a very simple and funny prob , i am some how not able to trap the value passed via the querystring.
my calling php script has
<A Href="a_product_edit.php?p_id=<?php echo($row['p_id']);?>">[Edit]</A>
and my called script has the following code to trap the querystring value
$pid = $_GET['p_id'];
echo "You have clicked $pid";
but some how the value is not trapped , it simple ignores the values passed to p_id
Can some one plz help me on this ?
Thx in advance
-subho_n
PS:
1. I have even tried $HTTP_GET_VARS['p_id']
My php.ini has the setting for register_globals on
i.e.
register_globals = On
My querystring shows like:
http://localhost:79/inventory/a_product_edit.php?p_id=1
4.I am using Apache server on windows