function formatmoney($Value)
{
$Result = split("[.]", $Value);
$Temp = substr($Result[1],0,2);
$Temp1 = str_pad($Temp,2,"0",STR_PAD_RIGHT);
$FinalResult = $Result[0] .'.'.$Temp1;
return $formatted = number_format($FinalResult, 2);
}
Monday, March 9, 2009
Saturday, March 7, 2009
What is PHP?
- PHP, is Known as PHP: Hypertext Processor.
- It is a server-side scripting language Means scripts are executed on the server. Means no one can steal your code.
- It supports many databases like MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.)
- PHP is an open source software so it is free to download and use.
- Used to create dynamic Web pages.
- file extension is ".php", ".php3", or ".phtml".
- PHP Code is Written Between
or you can use another way
/* This is a multi-line
comment */
Subscribe to:
Posts (Atom)