Parse Error

From: Date: Sun, 12 Nov 2000 23:14:34 +0000
Subject: Parse Error
Groups: php.general 
Request: Send a blank email to php-general+get-24886@lists.php.net to get a copy of this message
I'm getting a parse error in my address book PHP script, and can't seem to figure out what the error is. Here's the function <? function action_new() { global $dbpath, $dbtype; if (is_file($dbpath)) { $db = dba_open($dbpath, "r", $dbtype); // HERE } else { $db = dba_open($dbpath, "c", $dbtype); } if(!$db) { echo"Database failed to open"; return; } $data = array(); $data["id"] = get_next_id($db); dba_close($db); edit_form($data); } ?> Thanks. Steve - Webmaster http://www.stevesdomain.net AIM: nikkoruser ICQ: 91016151

« previous php.general (#24886) next »