[PHP-DB] How to solve T_STRING error?

2002-12-25 Thread Martin S
_hash(); $dev_group = $result["dev_group"]; } if($permissions)// This is line 43 { if(!$isStat) { and I can't see what ever is wrong! Probably have been looking too much at it. Anyone who can see an error in here somewhere? /Martin S. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] How to solve T_STRING error?

2002-12-25 Thread Martin S
Jason Wong wrote: > On Wednesday 25 December 2002 21:44, Martin S wrote: >> Just one page still to do. And I'm stuck. >> I keep getting: >> >> Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or >> `T_NUM_STRING' in /www/htdocs/d

[PHP-DB] php/mysql

2002-12-26 Thread Martin S
/tmp but that does no difference. Any suggestions? /Martin S. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] php/mysql

2002-12-26 Thread Martin S
mysql -u ADMIN -pADMINPW irm mysql -u ADMIN -pADMINPW phpgroupware both work (command line access). Setting the user in IRM as ADMIN and the password to ADMINPW I get "Cannot connect to database". I once desperately thought I had forgotten to configure php --with-mysql so I recomp

RE: [PHP-DB] How to solve T_STRING error?

2002-12-26 Thread Martin S
If I comment out the db lookup, the page works. Although not as intended (which the db-routine is supposed to fix). I'll have another look though. /Martin S. * which is hell to debug, it's a 3500+ lines beastie. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] php/mysql

2002-12-26 Thread Martin S
sound familiar to > anyone? > I've heard something like that as well, which is why I've compiled php and apache from source. Would compiling mysql from source as well help I wonder... /Martin S. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php