Hyperlink for each record

Posted by shantanuo on Stack Overflow See other posts from Stack Overflow or by shantanuo
Published on 2010-05-07T10:18:42Z Indexed on 2010/05/07 10:48 UTC
Read the original article Hit count: 200

Filed under:

I need a link for each depotname that will bring up a child window with the details of the last 10 backup status.

while($data=mysql_fetch_array($res))
{
if(is_null($depot_array) || !in_array($data['depotname'],$depot_array        ))
{
$depot_array[$r]=$data['depotname'];
if($data['SCP_status'] <> 'success')
{
echo "<tr id='fail'>";

The results of the following query should be displayed in a child window.

select * from backup_log where depotname = $data['depotname']

© Stack Overflow or respective owner

Related posts about php