RE: [PHP-DB] Getting array values into a query

2003-02-10 Thread Gary . Every
Try this: I use it so that I can add variable names to a db table, then access them throughout the script. ## Get the report_conf variables $sql = "SELECT * FROM report_conf"; $prefs = get_rowset($conn_id,$sql); foreach($prefs as $pref){ $foo = $pref['name'];

Re: [PHP-DB] Getting array values into a query

2003-02-07 Thread Jason Wong
On Saturday 08 February 2003 06:47, Michael Conway wrote: > I've been attempting to take the values from an array pulled from a > session to supply the variable in a WHERE clause. list() provides only > the first value as expected. implode() the last. Any suggestions or > should I just load the va