PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have several dropdowns that I need to populate with numbers from 1 to 50. Is there a quick way of doing this without having to write a separate option value for each one of them?
that'll give you all the numbers from 1 to 50...next time at least google "looping in php" or something like that,at least try to search either way,you're welcome.enjoy.
Charles256 wrote:
that'll give you all the numbers from 1 to 50...next time at least google "looping in php" or something like that,at least try to search either way,you're welcome.enjoy.
Thanks Charles,
I actually did search; both here and elsewhere... Guess I didn't really know what I was searching for. Anyway, I appreciate your help.