Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

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

11 years 6 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