UPDATE sql in Custom Code

TvdS 24 Sep, 2011
Hello,

I'm trying to use an UPDATE mysql query in my Custom Code to check whether the expiration date has passed and if so, it has to set 'published' to 0.
But somehow the code seems to be removed, since the query is never processed.
Does ChronoForms 'Custom Code' have some kind of protection to disable such queries? Because in that case I want to turn that off ^^.

edit: Solved. Syntax error. Thanks Bob for your reply!
GreyHead 25 Sep, 2011
Hi Tim,

It should be OK. If you use PHP then it must be in PHP tags <?php . . . ?>

If that isn't the problem please copy and paste the code here.

Bob
This topic is locked and no more replies can be posted.