[prog] hyperlinks and php
Saint-Wolfe
wolf at wolfrising.net
Tue Oct 7 23:43:21 EST 2003
Would anyone happen to know how to make this into an a href so that it
links to another php page?
this is the block of info that is called to a table on a web page:
<tr>
<td><div align="center"><?php echo $row_Grade['c_code'];
?></div></td>
<td><div align="center"><?php echo $row_CourseTitle['title'];
?></div></td>
<td><div align="center"><?php echo $row_Grade['section'];
?></div></td>
<td><div align="center"><?php echo $row_Grade['grade'];
?></div></td>
<td><div align="center"><?php echo $row_Grade['absences'];
?></div></td>
<td><div align="center"><?php echo $row_Grade['speed'];
?></div></td>
<td><div align="center"><?php echo $row_Grade['w_date'];
?></div></td>
</tr>
the first line where it says $row_Grade['c_code'] I need to be a
hyperlink to this a page that calls this information
CourseDetails.php?code=$code&term=$term&year=$year&course=""
I thought maybe
<a href=CourseDetails.php?code=$code&term=$term&year=$year&course="">
<?php echo $row_Grade['c_code']; ?></a>
was perhaps the answer but I keep getting error messages, can anyone
shed any light on this?
Thank you : )
And thanks to everyone who made recommendations for php books, picked
up a couple and they've
helped : ) But talk about swimming up stream : )
More information about the Programming
mailing list