loading result data into an array

From: Date: Sat, 16 Sep 2000 22:29:00 +0000
Subject: loading result data into an array
Groups: php.db 
Request: Send a blank email to php-db+get-2931@lists.php.net to get a copy of this message
Hello, I am writing a wrapper package for PHPs database calls. What I am now trying to do, is allow the developer/user to be able to set values of a column for the current row like so: $myrs->Columns["UserName"] = "test-user"; $myrs->Columns["Password"]="password"; the problem is, I need to set the associatve array's keys dynamically(since this is a library of sorts, the size/keys of the array will always be different). Is there any way to do this? Thanks! Alarion http://dadmin.sourceforge.net

« previous php.db (#2931) next »