Hi all,
I’ve stored logos I use on header and within PDF reports on a table called logos with a single logos_ID = ‘1’.
Fields of tables are logo_50, logo_100 and logo_200.
If I change them for different customers all application will use the logo of that customer without manually go to substitute them on all forms and reports.
My goal is to use them on form header using Value —> [glo_logo_50] or [glo_logo_100] or [glo_logo_200]
On app_Login application, that is the first form to make the login I would like to try to use within onApplicationInit the following lines:
$sql_logo_50 =“SELECT logo_50 FROM logos WHERE (logos_ID = ‘1’)”;
header (“Content-type: image/png”);
[glo_logo_50] = imagepng($sql_logo_50);
I’m not a programmer so I would like to have your support about what I’m trying to do.
Does it make sense ??
Do I have to change something of previous code ??
Thanks
Giovannino