SEARCH:
Previous: hNumFormat Next: ahImg

hImg

string Table
string Value
string Column (optional)
string HTML_Fragment


This routine will return the first image that it can find in the apppub directory for the given table and (optionally) column.

If no third parameter is passed in, the routine assumes the second parameter, "Value", is a value for the given table's primary key. It looks for any file in "apppub/$Table" named after $Value and having an extension .jpg, .png, or .gif. The routine returns an IMG tag pointing to the first such image it finds.

If a third parameter is passed,the routine assumes the second parameter, "Value", is a value of that named column. It looks for any file in "apppub/$Table/$Column" named after $Value and having an extension .jpg, .png, or .gif. The routine returns an IMG tag pointing to the first such image it finds.

Previous: hNumFormat Next: ahImg