Skip to Content Skip to Menu

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

12 years 2 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