Re: Parse Error

From: Date: Tue, 14 Nov 2000 23:09:54 +0000
Subject: Re: Parse Error
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-25300@lists.php.net to get a copy of this message
Are you sure you don't have some sort of non-ASCII quotes on the "r" ?... That's all I can think of. ----- Original Message ----- From: "Steve" <steve@stevesdomain.net> Newsgroups: php.general Sent: Sunday, November 12, 2000 5:12 PM Subject: [PHP] Parse Error > 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 > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#25300) next »