Okay, so I'm not sure why this is happening, but I have a table full of data and I got the edit link working for the top of the stack, but when I want to edit another entry, it keeps pulling in the info from the top ID. Is this because PHP/MySQL work with push and pop methods?
Here is my loop for the data output:
while($info = mysql_fetch_array( $data ))
{
$id=$info['ID'];
Print "<tr>";
Print "<th>Time</th>";
Print "<th>Client</th>";
Print "<th>Number</th>";
Print "<th>Address</th>";
Print "<th>Issue</th>";
Print "<th>Notes</th>";
Print "<th>Status</th>";
Print "<th>Charge</th>";
Print "<th>Edit</th>";
Print "<th>Print</th>";
Print "<tr>";
Print "<th> " .$info['Time'] . "</th>";
Print "<th> ".$info['Client'] . " </th>";
Print "<th> " .$info['Number'] . "</th>";
Print "<th>" .$info['Address'] . "</th>";
Print "<th>" .$info['Issue'] . "</th>";
Print "<th>" . $info['Notes'] . "</th>";
Print "<th>" .$info['Status'] . "</th>";
Print "<th>$" .$info['Charge'] . "</th>";
Print '<th><a href="https://www.1fixcomputermedic.com/update.php?id=$id" target="_blank">Edit</a></th>';
Print '<th><a href="" target="_blank">Print</a></th>';
Print "</tr>";
}
Any ideas?