OK, here is my php code so far…I’m lrearning so be gentle!!!
[php]
while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) {
print “
foreach ($line as $col_value) {
if ($col_value == “”){
print "
}
else {
print “
}
}
print "<td CLASS=FS NOWRAP><a href='future_page.php?id='$line[1]>Purchase</a></td>n";
print "</tr>n";
}
[/php]
The table populates correctly based on the query and database values.
My problem is the a href tag, where I want to load a new page based on the id number of the record (the 1st field in the array). I know it’s simple, but I cant figure it out…
Any help is appreciated