Hello!
I use some SQL Joomla custom fields with "fixed" queries, but what i need is make a query based on USER ID, so i need a dynamic query based on the authenticated user.
Can ReReplace replace a PLACEHOLDER put in the SQL custom field query -> with a php code that obtain user id before the execution of SQL query?
In this way I can return a real dynamic SQL query based on USER ID.
Is it possible?
Does anyone make it work in this way?
No, it can't.
ReReplacer can only replace things in your HTML output (content passed through the plugins).
Your SQL statement is used directly in PHP code and cannot be changed by plugins.