[PHP] Arrat question

2002-04-23 Thread Bas Jochems
Hello, Suppose i've got the following array $a = array( color = red, taste = sweet, shape = round, name = apple, 3 = 4 ); Now I would like to remove the color field and value. Whats the best way to do this? Thanks -- PHP General Mailing List

[PHP] Array question

2002-04-23 Thread Bas Jochems
Hello, Suppose i've got the following array: $a = array( color = red, taste = sweet, shape = round, name = apple, 3 = 4 ); Now I would like to remove the color field and value. Whats the best way to do this? Thanks. -- PHP General Mailing List

Re: [PHP] Regex error

2002-01-21 Thread Bas Jochems
use $rgTemp = split('[|]',$szTag); instead of $rgTemp = split(|,$szTag); on line 2 PHP List wrote: Hi, Can someone please tell me why the this is happening: 1) $szTag = test|3; 2) $rgTemp = split(|,$szTag); 3) $szTag = $rgTemp[0]; 4) $nItemID = $rgTemp[1]; ^line numbers for

[PHP] mysql table speed

2001-04-27 Thread Bas Jochems
i've got a mysql table with about 150.000 record. i'm getting data out of this table to generate statistic overviews it seems that this is a problem, cause it takes a long time to generate these overviews q: how can i speed up this table cause 150.000 records is not that much i suppose?