[snip] I have a table generated by some code that returns certain field values and drops them into a table. On of these values is ID and I'd like to convert it to a hyperlink that people can use to go to another page to view further information about a record. However:
The fields are not individually identified as I use a for statement and I think I might need to redesign the table but don't know where to start. Can anyone provide any pointers please...? [/snip] RTFM. If I need a hyperlink I have to code it even in a loop....i.e. <?php while($remi = mysql_fetch_object($dbemi)){ print("<tr>\n"); print("<td>" . $remi->bellname . "</td>\n"); print("<td><a href=\"batch.crm.php?bn=" . $remi->niiname . "\">" . $remi->niiname . "</a> - click for batch report</td>\n"); print("<td align=\"right\">" . number_format($remi->bellcount, 0, '', ',') . "</td>\n"); print("<td align=\"right\">" . $remi->statdate . "</td>\n"); print("</tr>\n"); } ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php