Forum Moderators: coopster
In the phpcode I put the dates together like this:
$arrival = $month."-".$day;
But the problem is when I print the arrival day out, I get year-month-day, and I would like to print out day-month-year.
Is it possible to do that without separating the month and year?
You could just create a new var for displaying the date and keep the original $arrival for your search.
$arrival = $month."-".$day;
$monthyear = explode('-', $arrival);
$arrival_display = $day .'-'. $monthyear[1] .'-'. $monthyear[0];
Now just edit the script where you display the date, changing it to $arrival_display.
Hope it helps.
Edit: Glad you got it fixed