Skip to Content Skip to Menu

🕒 Save Time and Effort with CB Editor Assistant: Effortlessly create and refine content in Joomla 3, 4, & 5.
🎁 Limited Offer: Enjoy a 5-day FREE trial and save up to 30% afterward!

[SOLVED] Auto action to store a value into DB using code action

11 years 9 months ago #225410 by deltafidesign
Replied by deltafidesign on topic Auto action to store a value into DB using code action
Ok, I've found!

there was a black space after "(" after soon LOWER

That's the correct syntax:

SELECT LOWER(REPLACE ( REPLACE ( REPLACE (`cb_city`, '\' ', '-' ), '\'', '-'), ' ', '-' )) FROM `jos_comprofiler` WHERE `user_id` = '[user_id]'

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum