Full-service Internet Marketing & Web Development
Recent Posts

Sponsors
![]() |
Lucky No CalculatorCode Wizard, 12-30-2006 |
This is a lucky no. calculator based on a simple algorithm developed (or rather thought) by a friend, Steven Mokeinzik (steven@devhome.net). It takes in your birthdate (DD/MM/YY). After this computes it and shows the output. It's extremely simple but I hope you all like it.
<html>
<body>
<form action=<?php echo $PHP_SELF; ?> METHOD=POST>
Day : <input type=text name=day maxsize=2><br>
Month : <input type=text name=month maxsize=2><br>
Year : <input type=text name=year maxsize=2><br>
<input type=submit value=submit>
<?
if ($day && $month && $year) {
$calc = ($day[0] * $day[1]) + ($month[0] * $month[1]) + ($year[0] * $year[1]);
echo "Your lucky no. is $calc";
}
?>
|
|
Subscribe Now to receive new posts via Email as soon as they come out.
Comments
Post your comments

