Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Quick and Easy - Dynamically Check If Recordset exists?

LEGEND ,
Aug 04, 2006 Aug 04, 2006
Has anyboyd worked on a fucntion to dyncmially check and see if a recordset
exists?

I keep getting sql errors, I just need an ISSET or somethign for a recordset
(I haven't tried that, but will).

I'll post solution in hour or so if nobody has anything.

--

TIA,

Jon Parkhurst
PriivaWeb
http://priiva.net.


TOPICS
Server side applications
308
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 04, 2006 Aug 04, 2006
wow, talk about posting too fast. I guess at least it'll be in the archives
to later.

if(isset($rsName)){
return true;
}

I would still like to know if there's a method that allows me to list
recordset objects on the page, so if you read this and know that - post er
up buuuuuuudy!

TIA,

Jon

"crash" <crash@bcdcdigital.com> wrote in message
news:eb00ru$7vv$1@forums.macromedia.com...
> Has anyboyd worked on a fucntion to dyncmially check and see if a
> recordset exists?
>
> I keep getting sql errors, I just need an ISSET or somethign for a
> recordset (I haven't tried that, but will).
>
> I'll post solution in hour or so if nobody has anything.
>
> --
>
> TIA,
>
> Jon Parkhurst
> PriivaWeb
> http://priiva.net.
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 04, 2006 Aug 04, 2006
LATEST
arg. Why am I not able to set object names and use them?

I'm guessing that's what I'm running into with this, nonfunctional script?

//Free MySQL Resources used in /app/rs_general
$rsArray = array();
$rsArray[] = 'rsChurch';
$rsArray[] = 'rsCookieUserLookup';
$rsArray[] = 'rsMenuMain';

foreach($rsArray as $id=>$rs){
if (isset($rs)){
mysql_free_result($rs);
}
};

TIA if you know.

Jon

"crash" <crash@bcdcdigital.com> wrote in message
news:eb02fm$9up$1@forums.macromedia.com...
> wow, talk about posting too fast. I guess at least it'll be in the
> archives to later.
>
> if(isset($rsName)){
> return true;
> }
>
> I would still like to know if there's a method that allows me to list
> recordset objects on the page, so if you read this and know that - post er
> up buuuuuuudy!
>
> TIA,
>
> Jon
>
> "crash" <crash@bcdcdigital.com> wrote in message
> news:eb00ru$7vv$1@forums.macromedia.com...
>> Has anyboyd worked on a fucntion to dyncmially check and see if a
>> recordset exists?
>>
>> I keep getting sql errors, I just need an ISSET or somethign for a
>> recordset (I haven't tried that, but will).
>>
>> I'll post solution in hour or so if nobody has anything.
>>
>> --
>>
>> TIA,
>>
>> Jon Parkhurst
>> PriivaWeb
>> http://priiva.net.
>>
>
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines