Quote:
Originally Posted by Lynne
You cannot put php into a template. You need to put the php into a plugin and then you preregister the resulting variable for the variable you are going to use it in. It's not clear at all which template you are wanting to use this in so there is no way I can get more specific.
I can point you to this article about preregistering variables (near the end) - [vB4] Rendering templates and registering variables - a short guide
|
Thanks Lynne.
I am reading that and hopefully may find a solution.
This isnt a template per se', at least not a stock vb template. It is a custom file and called by another custom file.
It is a php file as you can see at the bottom of my last post for part of it. Unless that is a template by definition.
--------------- Added [DATE]1368150006[/DATE] at [TIME]1368150006[/TIME] ---------------
Lynne, I read that completely and I do understand what I have read, but that doesnt, nor can it, apply here.
I know that my problem is the sql syntax here, and I cant seem to find the syntax issue.
Thanks anyway, but still looking for a tad bit-o-help.