PDA

View Full Version : Resource Id's


sir pannels
02-01-2006, 10:50 AM
Resource Id's

Hey all.
Tried looking around google but not found too much... resource ID's in mysql.. what exactly are they for and how do they get generated?

I have a sql error that refers to resource id 21.. now from looking around I think resource id's are used by mysql in some way and created on the fly.

Anyone got any info just on what they are/how they work?
Thanks :)
P

raf
02-01-2006, 01:40 PM
Resource Id's

Hey all.
Tried looking around google but not found too much... resource ID's in mysql.. what exactly are they for and how do they get generated?

Did you try searching here?

If my mindreading skills aare working correctly, then i'd say you're talking about the resourceID that PHP uses to refer to the resultset that was gegenated by MySQL.

So it's not a MySQL thing, it's a PHP thing --> just a reference that you use inside the PHP functions that will pull data from the resultset, to point the parser to the right resultset.

sir pannels
02-03-2006, 09:54 AM
Hi Raf...

Thanks for your reply.
No I did not search this place :$ will do next time. Thanks for your thoughts on the subject. Think I get it :)

Cheers,
P