[PHP] Associative Array Benchmarking

2004-09-18 Thread bskolb
Although I'm not certain how well known this is, I thought I'd share this with everyone who might have wondered if there was a benefit to using or not using quotes when referencing associative arrays. While benchmarking a few different array sorting options, I had used in_array and search_array.

[PHP] GD Library list

2004-09-10 Thread bskolb
Does anyone know if there is a mailing list for gdlib? Can't seem to find in Google.

[PHP] Dynamic Function with return?

2004-08-27 Thread bskolb
Sample Code: // ?PHP // version 4.3.6 function testFunction($foo) { return $foo==TEST; } function wrapper($foofunc, $foovar) { return eval(return $foofunc($foovar);); } echo wrapper(testFunction, TEST); ? // This code

[PHP] SOLVED RE: [PHP] Dynamic Function with return?

2004-08-27 Thread bskolb
); -Original Message- From: Pahlevanzadeh Mohsen [mailto:[EMAIL PROTECTED] Sent: Friday, August 27, 2004 7:24 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] Dynamic Function with return? 1 way is here.You can use object OOP. --- bskolb [EMAIL PROTECTED] wrote: Sample Code

RE: [PHP] Printing invoices

2004-06-21 Thread bskolb
, June 20, 2004 10:04 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Printing invoices On 21/06/2004, at 9:30 AM, bskolb wrote: Could someone direct me to a printing solution from a static document that would render variable data elements to be sent to a printer queue? I

[PHP] Printing invoices

2004-06-20 Thread bskolb
Could someone direct me to a printing solution from a static document that would render variable data elements to be sent to a printer queue? I was thing perhaps of an RTF for the static page, but can't seem to locate any way of inserting the variable data, then spit out each occurrance to a

[PHP] DB Query

2004-06-05 Thread bskolb
I'm trying to optimize a query that in the first example is taking too long to run. This is my existing working query: $sql = SELECT count(*) as cnt, id FROM `mYTable` WHERE c1 not in (1,16,36) and c2 not in (1,16,36) and c3 not in (1,16,36) and c4 not in (1,16,36) and c5 not in (1,16,36) GROUP

RE: [PHP] DB Query

2004-06-05 Thread bskolb
Explain plan? Due to the number of records, any indexes I added have significantly delayed the query. -Original Message- From: Daniel Clark [mailto:[EMAIL PROTECTED] Sent: Saturday, June 05, 2004 11:41 AM To: bskolb; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] DB Query Run

RE: [PHP] DB Query

2004-06-05 Thread bskolb
, June 05, 2004 12:56 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] DB Query bskolb wrote: I'm trying to optimize a query that in the first example is taking too long to run. This is my existing working query: $sql = SELECT count(*) as cnt, id FROM `mYTable` WHERE c1