Navigation :

Home
Source code
Tutorials
RSS feeds
Articles
Wordpress plugins
Blog
Books
Software
Downloads
Hosting
manuals
Script directory
Training
Our Links




Site Sponsors :

Bookmark :

Links :

wwwstores
domain names
dvd information

Downloads :

Misc :

Webmaster Resources
Only PHP
ScriptSearch.com
Scripts.com - Get the best scripts NOW!
AndreaPHP Programming

Valid XHTML 1.0 Transitional


Valid CSS!


Lottery number generator

Lottery number generator

<?
function lottery($maxn = "49",$maxb="6") {
srand((double) microtime() * 1000000);

while (1>0) {
$lottery[] = rand(1,$maxn);
$lottery = array_unique($lottery);
if (sizeof($lottery) == $maxb) break;
}
sort($lottery);
return implode(", ",$lottery);
}
$lotterynums = lottery();
?>
<html>
<head>
<title>Lottery Numbers</title>
</head>
<body>
<h1>And your lottery numbers for this week are...</h1><br>
<h3><?=$lotterynums?></h3><br>
</body>
</html>



Books :

Sponsors :

Random Code :

Salon.com news(xml)
Yahoo news(xml)
Break out of a loop(beginner)

Random Article :

PHP Files

Network:

Programming resources
Tutorials directory
Clickbank mall
sell software
Free auctions, low cost stores
UK products
US products
Gambling directory
Sexy free wallpapers
Hosting resources
ASP site
DVD site
Domain names
Dating site
Software directory
Maxi directory
bigarticle : free articles