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!
Hi all
I want to convert variables in a $_POST array into money format before I process them. I'm not entirely confident about accessing arrays in this way. I know the following loop hangs. Can someone tell me where I'm going wrong please?
Any help is very much appreciated.
Thanks, Steve
Thanks for that pytrin. That works fine now. As soon as I'd posted I noticed I'd forgotten the stopping condition. Need to do some reading on foreach.
Cheers, Steve