[PHP-DB] moving though an array..

2003-06-26 Thread Aaron Wolski
Hi All, Hopefully someone here can point me in the right direction. I need to create a SELECT statement based on some criteria select and entered into a form. Form variables: $threadsColumn = manufactuer,colour; $string = n; Code: $columns[] = explode(,,$threadsColumn);

Re: [PHP-DB] moving though an array..

2003-06-26 Thread Adam Voigt
One Thing: Change $columns[] to $colums, example: $columns = explode(',',$threadsColumn); On Thu, 2003-06-26 at 10:23, Aaron Wolski wrote: Hi All, Hopefully someone here can point me in the right direction. I need to create a SELECT statement based on some criteria select and entered

RE: [PHP-DB] moving though an array..SOLVED

2003-06-26 Thread Aaron Wolski
[mailto:[EMAIL PROTECTED] Sent: June 26, 2003 10:26 AM To: Aaron Wolski Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DB] moving though an array.. One Thing: Change $columns[] to $colums, example: $columns = explode(',',$threadsColumn); On Thu, 2003-06-26 at 10:23, Aaron Wolski wrote: Hi All

RE: [PHP-DB] moving though an array..SOLVED

2003-06-26 Thread Ford, Mike [LSS]
-Original Message- From: Aaron Wolski [mailto:[EMAIL PROTECTED] Sent: 26 June 2003 16:12 Solved my problem! Here's the code in case anyone really cares :P $col = explode(,,$threadsColumn); $col_search = (; for ($i=0;$icount($col);$i++) {