I am having trouble know how to put it into the script. Can you please give me an example of How and Where I would put this into a php script?
eg. where and how would it look in the following script?
<?php
$db = mysql_connect("localhost", "root","password");
mysql_select_db("database",$db);
$result = mysql_query("SELECT * FROM datatable WHERE Bonddata = 'Fixedrate' AND Date > '1998-01-06' AND Date < '1998-07-17'");
if($myrow = mysql_fetch_array($result))
{
echo "<table border=1>\n";
do
{
printf("<tr><td>%s</td><td>%s</td><td>%s</td>
</tr>\n",
date('M D Y', $myrow["Date"]), $myrow["Bonddata"], $myrow["Low"]);
}
while($myrow = mysql_fetch_array($result));
echo "</table>\n";
}
?>