Hi guys! I wanna do something like this: I have displayed my array elements in descending order like this: element 10 element 9 .... I want to use if statements for them because i want to assign each element a specific date, like this: if($date < 0510) { echo "my element a" } else {echo "This element is expired"} i want to use this thing inside an array for each element individually.. any solution or ideas....?
thanks but this applies for all array elements, i want to apply if individually.. like if $date=1912 it will show element a, element b will be shown on its own place