Gossamer Forum
Home : Products : DBMan : Customization :

using $in{'xyx'}

Quote Reply
using $in{'xyx'}
I'd like to put info in subroutines that use html_record_long only if the subroutine is not view_records.

I've seen this around -- I'm looking for the opposite.

if ($in{'view_records'}) {
}

Thanks!

-----------
Jason Dulberg
Extreme MTB
http://extreme.nas.net
Quote Reply
Re: using $in{'xyx'} In reply to
Use else statement....

Code:

if ($in{'view_records'}) {
&html_record;
}
else {
&html_record_long;
}


This is just an example...you will have to add some more codes to make it work.

Regards,

Eliot

Quote Reply
Re: using $in{'xyx'} In reply to
Thanks Eliot -- I should have known that one!

-----------
Jason Dulberg
Extreme MTB
http://extreme.nas.net
Quote Reply
Re: using $in{'xyx'} In reply to
You're welcome.

Regards,

Eliot Lee