Hi everyone,
I automatically create a table based upon a sql query, what I'd like to do next is to include a hyperlink that takes a value from the current row, sets the value of a global veriable, reload the page and take advantage of the new, user selected variable.
Here's the table code :
<?php while($db->next_record()): ?>
<tr>
My attempt.....
<td><a href = leads.php?ROWID= <?php print $db->Record["id"] ?> > <?php print $db->Record["id"] ?></a></td>
<td><?php print $db->Record["projectName"] ?></td>
<td><?php print $db->Record["workscope"] ?></td>
<td><?php print $db->Record["region"] ?></td>
<td><?php print $db->Record["contractManager"] ?></td>
</tr>
<?php endwhile ?>
</table>