Hello,
We are upgrading to EE1 from EE1.6.9. The query plugin statement below used to work just fine, but now I can’t get it to render the “segment” variables within the exp:query tags. If I remove the segment variables and just search for specific hard-coded data, the query outputs just fine. Problem is I need this query to be dynamic, pulling from the URL.
Is my formatting off? Other ideas?
{exp:query sql="SELECT group_id, member_id, join_date, username FROM exp_members WHERE username = '{segment_3}' AND join_date = '{segment_4}' "}
Congrats, you have access, {username}!
{/exp:query}Thank you!