php tips [2008-02-10 10:55:27]


Php function to validate two decimal places of a number


By Roshan

If you are looking for the validation of a number which contains only two decimal places. Means you want to accept the values like 0.21 or 1.34 or 12.55 or 445.66 as a input and throw an error when somebody enters the number like 0.2 or


Roshan Bhattarai’s Blog - PHP… - http://roshanbh.com.np


Re: Tracking User Activity


As I recall, argument 2 and 3 to db_query() are __FILE__ and __LINE__ respectively. I verified that every call has these 2 arguments, so it would seem that for some (inexplicably) they are not defined. I didn't think PHP could hide


Simple Machines Community Forum… - http://www.simplemachines.org/community/index.php


Sunday tips round-up: BP, Chaucer, McBride


Between them, Royal Dutch Shell and its arch-rival BP have garnered some pretty negative headlines over the past few years.


BullBearings - Tips Round Up - http://www.bullbearings.co.uk




.

Leave a Reply

You must be logged in to post a comment.