
Hi all,
I created a trigger to resize image files after save/insert/update in a table. Ok, the resizing works good, but if i put the resize functions in an external file (to be available also to other tables/triggers and mode generally to the entire application) the file is not included, but the page after the form submit, simply displays the php code.
If I put the functions directly in the table.php file it works. I don't want to put duplicate functions in every trigger file, so I ask if it is possible to define something like this?
display();
?>
Thanks in advance,
Claudio
I created a trigger to resize image files after save/insert/update in a table. Ok, the resizing works good, but if i put the resize functions in an external file (to be available also to other tables/triggers and mode generally to the entire application) the file is not included, but the page after the form submit, simply displays the php code.
If I put the functions directly in the table.php file it works. I don't want to put duplicate functions in every trigger file, so I ask if it is possible to define something like this?
display();
?>
Thanks in advance,
Claudio