This topic is locked

Function Code vs Snippet Code

2/13/2009 2:10:38 PM
PHPRunner General questions
U
Urnso author

If you run a query in a function for the list page do you need to rerun the query if you place code in a snippet on the list page?
I don't want to 2x query if I don't have to.
Thx!

J
Jane 2/16/2009

Hi,
yes.

Or as woraround you can define this query as global variable and use it in the custom events.