[PHP-DB] Re: Extracting data from Arrays in ISAM table

2007-05-20 Thread itoctopus
Step #1: Select name_field FROM the_table; Step #2: $arr_all_names = array(); foreach single_result in your result_set{ //you have to translate this into php $arr_name = explode(',', $single_result['name']); //assuming that you are joining names in the field using a comma $arr_all_names

Re: [PHP-DB] Extracting data from Arrays in ISAM table

2007-05-20 Thread Stut
[EMAIL PROTECTED] wrote: I have a table with between 100k and 200k rows. One field, `names`, is populated, in each row, with an imploded array of up to 4 names. I require to create a list of names, without repeats, of all the names in `names` field to use in an html form. Any advise would

[PHP-DB] Creating all key combinations passwords

2007-05-20 Thread Lasitha Alawatta
Hi All, I'm going to create all key combinations; simple-letter passwords and store those in to MySql DB. Using = a-z (simple letters) Password length = 6 Number of possibilities = 26 x 26 x 26 x 26 x 26 x 26 = 308,915,776 This is my code: ?php for($i=0;$i

Re: [PHP-DB] Creating all key combinations passwords

2007-05-20 Thread Stut
Lasitha Alawatta wrote: I’m going to create all key combinations; simple-letter passwords and store those in to MySql DB. Using = a-z (simple letters) Password length = 6 Number of possibilities = 26 x 26 x 26 x 26 x 26 x 26 = 308,915,776 This is my code: ?php for($i=0;$i