View Single Post
 
Old June 19th, 2003, 03:10 PM
nikolai nikolai is offline
Friend of Wrox
Points: 2,570, Level: 21
Points: 2,570, Level: 21 Points: 2,570, Level: 21 Points: 2,570, Level: 21
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: San Diego, CA, USA
Posts: 836
Thanks: 0
Thanked 0 Times in 0 Posts
Default

db_error_message() is a user-defined function. If you copied that code out of the book, then that function should also be defined in that book somewhere.

Here's a simple session example:

Code:
<?php
session_start();

if (!isset($_SESSION['count']))
{
   $_SESSION['count'] = 0'
}

echo "You've seen this page " . ++$_SESSION['count'] . " time(s).\n";
?>

Take care,

Nik
http://www.bigaction.org/