Orderby php help
-
I’m new to php and trying to output the highest value post from star ratings using:
[Code moderated as per the Forum Rules. Please use the pastebin]
Currently it displays
Highest Rated Restaurant: RestaurantName1 10
Highest Rated Restaurant: RestaurantName2 18
Highest Rated Restaurant: RestaurantName3 27
If i could create a custom ‘orderby’ query I could also order by ‘ASC’ and limit posts to 1.
But how do I create a custom orderby query or am I going in totally the wrong direction here?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Orderby php help’ is closed to new replies.