CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Random number

Print topic Send  topic

Author Message
Luc
Posted: 06/04/2003, 6:11 AM

Hello, who knows how I can make a random number in a php field?
I only know how to do it in ASP but can't find on the internet how to do it in PHP.
Luc
Tim
Posted: 06/04/2003, 1:09 PM

http://www.php.net/manual/en/function.rand.php
Luc
Posted: 06/04/2003, 1:42 PM

Tnx it works:
$random=rand ("0","99999999999999999");
echo $random;

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.