1
I need help to display only one database record, follow code:
<?php
$posts = DBRead( 'posts', "WHERE categoria = 3 AND status = 1 ORDER BY data_numero ASC" );
if( !$posts )
echo '<h2>Nenhuma Corrida Registrada!</h2>';
else
foreach ( $posts as $post ):
?>
You would need to make the foreach return the with the shorter date and only one to insert into a BOX.
All right your thanks, I have another question take a look at the reply comment down there.
– Mateus José Pretti