I was wondering if anyone can tell me how I can style the results which are outputted onto my php page from the database.
<!doctype html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link href="css/reset.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="container2">
<div id="adminpanel">Admin Page
<div id="showorders"><u>Orders</u></div>
<?php
session_start();
include('connection.php');
$result = mysql_query("SELECT * FROM orderform");
while($row = mysql_fetch_array($result))
{
echo $row['product'] . " " . $row['productcomments'] . " " . $row['name'] . " " . $row['address'] . " " . $row['age'] . " " . $row['delivery'] ;
echo "<br>";
}
?>
<div id="showreviews"><u>Reviews</u></div>
<?php
$result = mysql_query("SELECT * FROM reviewform");
while($row = mysql_fetch_array($result))
{
echo $row['name'] . " " . $row['product'] . " " . $row['comment'] ;
echo "<br>";
}
?>
</div>
Update coded at 12.37. Need to get rid of an error in orders div