Forums

CF8 - DB Save Action

rbock 27 Sep, 2023
Which form is correct for where statement?

field={data:param-name}
field='{data:param-name}'
field="{data:param-name}"

need ; ?
Max_admin 27 Sep, 2023
Answer
first, and use this:
field={data.quote:param-name}


The "quote" function will quote the parameter value safely, otherwise you may have problems with SQL injection
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.