aartvg
Gebruiker
- Lid geworden
- 22 jul 2003
- Berichten
- 321
hallo ik krijg een foud ik heb een boek php gekogt om het te leren maar in mijn erste php stipt geeft hij gelijk een foud aan
meschin weeten jul heer raag mee
PHP Fatal error: Call to undefined function: mysql_guery() in e:\phpdev\www\public\create.php on line 6
dit is mijn code
meschin weeten jul heer raag mee
PHP Fatal error: Call to undefined function: mysql_guery() in e:\phpdev\www\public\create.php on line 6
dit is mijn code
PHP:
<?php include("dbconnect.php"); ?>
<h2>welkom op mijn gaten boek</h2>
<?php
$result = mysql_guery("select * from guestbook") or
die (mysql_error());
while ($row = mysql_fetch_array($result))
{
echo "<b>name:</b>";
echo $row["name"];
[echo "<br>\n";
echo "<b>location:</b>";
echo $row["location"];
echo "<br>\n";
echo "<b>email:</b>";
echo $row["email"];
echo "<br>\n";
echo "<b>url:</b>";
echo $row["url"];
echo "<br>\n";
echo "<b>comments:</b>";
echo $row["comments"];
echo "<br>\n";
echo "<br>\n";
echo "<br>\n";
echo "<br>\n";
}
mysql_free_result($result);
?>