Is there any way to store a php echo statement within a field of a my sql database?
I am putting together a school reporting system, and I want some generic comments to be used, each containing the name of the student. eg "this year Jonny has really improved his science score"
what this would read ideally is
<td>this year <?php echo $row_rsName['First_Name']; ?> has really improved his science score</td>
And it does, until I try to put that code into a row in a mysql database.
When I then list all of the rows in the database in a table, the code disappears, and the name is not present.
Any ideas people......its for the kids :-)