sql execute from an include.
I am trying to break my code up to make it more managable. I have an include that creates a menu for me. I want to execute a sql statment from within the include (I am using pgsql but the sql server should not matter for this question). Does anyone know if you can execute a sql statement from a include or must it be done in the calling php code then pass the results to the include???
Let me know if this question is not clear.
Thanks Much,
Rob
|