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.
$testObj->$testFunc("TEST");
-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.
--- b
Sample Code:
//
//
This code works. It calls the function and
receives the appropriate return value.
But, is there a better way of doing this?
It seems a bit round-a-bout.
Thanks!
unday, 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
>
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
print
cution time.
FYI, there are some 3 million records.
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Saturday, 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
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
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
9 matches
Mail list logo