Sequence element F4 error for query

sunnyjey

Active Member
If I place any code to return in placeholder Query field in sequence field, I am getting

Code:
$words = preg_split('/\s+/', '{mytable___name}');
$acronym = "";
foreach ($words as $w) {
    $acronym .= $w[0];
}
return $acronym;

OR just

Code:
return '2';

I am getting following error:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use

J4 F4 latest
 

Attachments

  • Screenshot 2024-03-03 at 11.30.54 AM.png
    Screenshot 2024-03-03 at 11.30.54 AM.png
    115.4 KB · Views: 26
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top