Hi all
My receptionists suddenly receive this error when trying to load phone book,
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/html/fop2/lib/dblib.php on line 4
I've checked my database is in place and readable by following other posts here,
php -v
PHP 4.3.9 (cgi) (built: Nov 30 2010 03:45:20)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
mysql -u root fop2 -e "desc visual_phonebook"
+-----------+--------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------+--------------+------+-----+---------+----------------+
| id | int(11) | NO | PRI | NULL | auto_increment |
| firstname | varchar(50) | YES | | NULL | |
| lastname | varchar(50) | YES | | NULL | |
| company | varchar(100) | YES | | NULL | |
| phone1 | varchar(25) | YES | | NULL | |
| phone2 | varchar(25) | YES | | NULL | |
| picture | varchar(100) | YES | | NULL | |
+-----------+--------------+------+-----+---------+----------------+
Is there anything else I can check ?
cheers
nigel