why wont this work?
this is in a while loop:
$postdate = date( "j F", strtotime( $row['insert_date'] ) );
if ($postdate == date("j F")) {$postdate = "today"};
$table .= bla bla bla "$postdate";
it gives an error on the ‘if statement line’ in my browser…
$postdate is something like 14 october before the if statement!
Thanks
The semicolon needs to be inside the braces, like this: