Hi,
I would like to insert a conditions in my db read.. I have a table with a datatime value and I want to select only row with datatime major than X
this condition doesn't work....
I would like to insert a conditions in my db read.. I have a table with a datatime value and I want to select only row with datatime major than X
<?php
$data='2017-04-26';
return array("strtotime:(datainizio) > {strtotime($data)}");
this condition doesn't work....
Hi livingwebstudio,
Please try this:
I assumed that your table field name is "datainizio"
Best regards,
Max
Please try this:
<?php
$data='2017-04-26';
return array("datainizio >" => strtotime($data));
I assumed that your table field name is "datainizio"
Best regards,
Max
This topic is locked and no more replies can be posted.
