Forum Moderators: coopster
<a href='./page.php?gid=$array[id]'>
Now i have this link in a mysql query, and this part to my knowledge is working great ... i hover link and the array is placing the correct data, meaning when i hover i see
http://example.com/page.php?gid=1
now on the page.php i have another mysql statement that is setup like this
<?php
$gid = $_GET['gid'];
include("./connect.php");
$sql = "SELECT * FROM `table` WHERE `id` = '$gid'" or die('<br />Select Table-'. mysql_error());
$result=mysql_query($sql) or die("<br />Result-". mysql_error());
while($rows=mysql_fetch_array($result)){
?>
$sql = "SELECT * FROM TABLE WHERE id=$gid";
$result = mysql_query($sql) or die("<br />Result-". mysql_error());