I have a query that produces the results which displays what I need from my query except the last column in my table needs to have its result from a different query.
I need to be able to have a different query produce the result for the last column in my table. Is this possible?
Code:
while($row = mysql_fetch_array($result)){
echo "<tr><td>$row[cust_id]</td>";
echo "<td>$row[cust_name_last]</td>";
echo "<td><a href='listwarrant.php?warrant_id=$row[warrant_id]'>";
echo "<img src='./images/issues.gif'></a></td>";
}
I need to be able to have a different query produce the result for the last column in my table. Is this possible?