i have a link on zoom.php here i have a link where iam send image_id
<a href=\"editimage.php?img=$image_id\">Edit</a>
now i have a editimage.php where i reciving the image_id.
$image_id_g = isset($_GET['img']) ? $_GET['img'] : 0;
but i printing always 0's but i want to print the image id here
i also tried.but it say variable not found (img image_id)
$image_id = $_GET['image_id'];
$image_id = $_GET['img'];