Help with function please...
Was hoping someone could help me. Im kind of new to php and im stuck.
What im trying to do is an 'If then' statement i think. I have an array and ive created a variable called $rounds which is pulling its value from the array $rounds.
The value of $rounds will equal (1,2,3...19,20,21,Quarter-Final, Semi-Final, Grand-Final).
Now my aim is to have the text "Round " be written as "Round 1", "Round 2" etc etc if $round equals the numbers 1-21, otherwise if $round equals Quarter-Final, Semi-Final, Grand-Final then for it just to remain as is without the "Round " written before it. I have come up with the following which doesnt work:
Hope that makes sense. Any help appreciated
something like this:
i have no idea im new too but this makes sense to me
if ($round >= 1 && $round <= 21)
Thanks alot Spliff, worked perfectly mate
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)