skip to main
|
skip to sidebar
Home
Disclaimer
Privacy Policy
Home
Privacy Policy
Disclaimer
Web Archive
Technology, Unlimited
Home
Drupal
PHP
Linux
Share
Monday, July 16, 2012
Find factorial using PHP
2:28 PM
No comments
Email This
BlogThis!
Share to X
Share to Facebook
Function to find the factorial of the given value
function factorial($val){
if($val == 1){
return 1;
}
else {
return $val*factorial($val-1);
}
}
Posted in:
PHP
Newer Post
Older Post
Home
0 comments:
Post a Comment
Enter your email address:
Popular Posts
How to convert milliseconds to date format in PHP
Normally date field is stored in database as timestamps format, the number of seconds since 00:00:00 UTC on January 1, 1970. Some times th...
How to remove LinkWithin from homepage, blogger
LinkWithin is a blog widget that appears under each post, linking to related post from your blog archive. It is an awesome "related po...
Top 20 Wordpress plugins and their Drupal equivalent
Wordpress is a popular blogging platform like google blogger. It provides more flexibility than blogger. If you want setup a good looking ...
WinSCP alternative in Ubuntu.
WinSCP is the most popular file transfer application in Windows Operating systems like filezilla. It helps to copy files from remote system ...
How to find parent element's id using jquery
Here I am explaining how to find the parent element's id of a html element using jquery function. $(this).parent().attr(''id)...
Categories
Apache
(3)
Blogger
(2)
Brightcove
(2)
CSS
(1)
Drupal
(7)
Free Software
(1)
Java Script
(2)
jquery
(5)
linkWithin
(1)
Linux
(4)
MySQL
(2)
Open Source
(2)
PHP
(10)
SVN
(1)
Ubuntu
(4)
Version Control System
(1)
Video Cloud
(1)
Wordpress
(1)
Powered by
Blogger
.
Design by
Free WordPress Themes
| Bloggerized by
Lasantha
-
Premium Blogger Themes
| Maintained by
Web Themes
0 comments:
Post a Comment