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.
Does anyone know if there is a mailing list for gdlib? Can't seem to find
in Google.
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
);
-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
, 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
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
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
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
, 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
9 matches
Mail list logo