RE: [PHP-DB] Array problem...

2005-09-18 Thread Bastien Koert
Dunno if its relevant, but the recommended way to use sessions is to assign stuff to a $_SESSION['varname']...I don't really see anything wrong with the code... Also, what arrays are causing the problems? bastien From: "NIPP, SCOTT V (SBCSI)" <[EMAIL PROTE

[PHP-DB] Array problem...

2005-09-16 Thread NIPP, SCOTT V \(SBCSI\)
I am migrating a web app from an old server running PHP 4.2.3 to a new server running 4.3.8. The problem I am running into at the moment is building an array and passing it to another page. This code works fine on the old server, but the array is not coming across to the new page on the n

Re: [PHP-DB] array problem

2002-06-21 Thread Jason Wong
On Thursday 20 June 2002 23:26, Richard Black wrote: > By passing a second parameter to mysql_fetch_array, MYSQL_ASSOC > > This means you only get back an array with the values indexed by > fieldname. Or just use mysql_fetch_assoc(). -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk O