Dear All,
At the moment I assign entries from a mysql database to variables like this;
while ($row =
mysql_fetch_array($sql_result)) {
$id= $row["id"];
$ref= $row["ref"];
$photoout=$row["photoout"];
$photoin = $row["photoin"];
$reading = $row["reading"];
$name = $row["name"];
$blurb = $row["blurb"];
$blurb2 = $row["blurb2"];
$price = $row["price"];
$type = $row["type"];
$dosage = $row["dosage"];
$largestorder = $row["largestorder"];
$filter1 = $row["filter1"];
$filter2 = $row["filter2"];
}
There must be a better way to do this. Do any of you know?