Sunday, January 09, 2005
International PHP Magazine - Cutting-Edge Technologies for Web Professionals - Online Articles
�International PHP Magazine - Cutting-Edge Technologies for Web Professionals - Online Articles :
"$db = gb_open();
gb_show($db);
?>
Add a comment!
Listing 6: new.php
$db = gb_open();
if (isset($_POST['ADD'])) {
gb_add($db, $_POST['name'], $_POST['email'],
$_POST['comment'], $_POST['web']);
header('Location: http://'
. $_SERVER['HTTP_HOST'] . '/guestbook.php');
exit;
}
?>"
"$db = gb_open();
gb_show($db);
?>
Add a comment!
Listing 6: new.php
$db = gb_open();
if (isset($_POST['ADD'])) {
gb_add($db, $_POST['name'], $_POST['email'],
$_POST['comment'], $_POST['web']);
header('Location: http://'
. $_SERVER['HTTP_HOST'] . '/guestbook.php');
exit;
}
?>"