Gossamer Forum
Home : Products : DBMan : Customization :

Global Var

Quote Reply
Global Var
In html_view_success I want to have it print a field from html_record. IE. in html record I have the following.

$html_cat = $rec{'Type'};

If I print html_cat in html_record it displays what I want. When I try to print $html_cat in html_view_success its blank.
How do I make it a global var so it won't be blank?
Quote Reply
Re: Global Var In reply to
Are you defining it in html_record and then printing it in html_view_success? Or are you defining it in html_view_success? It should be a global variable unless you specifically say it's a local one or a "my" variable. If you define it in html_record, it should print out -- if you're printing it after the call to the html_record subroutine.


------------------
JPD

All my advice is offered on the basis of kindness-ware. If I've helped you to solve a problem, go out of your way to be kind to someone today.