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 guys im trying to validate a price field and the ctype_digit() function wont allow decimal values through. I've checked the php manual and none of the ctype functions check if the value is a decimal. Anyone know of another way i could do this?