1
I’m trying to select in the bank the date closest to the current date but I’m not getting a good result.
The insertion is:
$titulo = trim($_POST["titulo"]);
$descricao = trim($_POST["descricao"]);
$data = $_POST['data'];
the consultation is:
SELECT * FROM eventos WHERE data > GETDATE() LIMIT 1
What I need is to get the DATE column in the event table where the registered DATE is greater than the current date.
In the bank this query return some line?
– rray