Hello, i’m not sure what is up here:
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
<title>PHP Table integration with MySQL</title>
body {
font-family:arial;
color: navy;
}
h1, h2 {
text-align: center;
font-weight: strong;
}
div.text {color: navy;
}
div.right {
text-align: right;
}
div.table {
text-align: center;
margin-left: 20%;
}
</head>
<body>
<?php
echo "Time: “;
echo date(’ H:i:s’);
echo " Date:”;
echo date(‘j F Y’);
?>
PHP Test Area
The following is an attempt at creating a table to recall data from an SQL Database:
The following is a table which will be populated automatically from a Database using a PHP script so that the entries do not need to manually be typed out.
'. $ row['name'] . | ' . $row['dr'] . ' |
' . mysqli_error($dbc) . '
Query: ' . $q . '';
} // End of if ($r) IF.
mysqli_close($dbc); // Close the database connection.
?>
</html>
the full includes address is: www.garethgroup.com/testphpincludes/header.php
the full address where the script is stored is: www.garethgroup.com/test/php/index.php
Thanks lots!
Ben