DMXzone App Connect Support Product Page

conditions

Asked 20 Jan 2021 16:21:35
1
has this question
20 Jan 2021 16:21:35 Vivian Eersels posted:
In my old site (for php 5) I used in the query: WHERE Jaartal < Year (CURDATE())-25
i am upgrading the site to php 7, but it seems that this 'Year (CURDATE())-25 ' is not good anymore?

Replies

Replied 21 Jan 2021 08:09:50
21 Jan 2021 08:09:50 Teodor Kuduschiev replied:
You can't just use expressions like this "Year (CURDATE())-25" in the query builder.
What are you trying to achieve?

Reply to this topic