Re: [PHP] PHP error parsing SQL string containing assoc. array

2001-03-23 Thread Matt Friedman
t;[EMAIL PROTECTED]> Sent: Friday, March 23, 2001 8:25 PM Subject: Re: [PHP] PHP error parsing SQL string containing assoc. array > Hi All, > > PHP is unable to resolve the variable you are trying to use within a stting. If you use complex array structures you have to write it l

Re: [PHP] PHP error parsing SQL string containing assoc. array

2001-03-23 Thread Frank M. Kromann
Hi All, PHP is unable to resolve the variable you are trying to use within a stting. If you use complex array structures you have to write it like this: $sql = "insert into sessions(session_id, user_id, session_expiration) values ('$sess_id', " . $user_fields['USER_ID'] . "', sysdate + (" .