Re: [PHP] Random
[email protected] (Nick Pratley)
| Newsgroups | php.general |
|---|---|
| Message-ID | <CAMeRRxC73AnukmjQ2A9poJE2aAh5VdK4Dj+i7Qg-NtVkndYrkA@mail.gmail.com> |
Lola On Friday, May 24, 2013, Ashley Sheridan wrote: > > > Last Hacker Always onpoint <[email protected] <javascript:;>> wrote: > > >I needed something like this echo(rand(1,30)) > > > >On 5/24/13, Last Hacker Always onpoint <[email protected]<javascript:;>> > wrote: > >> okay thanks tamouse and others you think am not on point hmmm? I'll > >> show you i am. > >> > >> On 5/24/13, tamouse mailing lists <[email protected]<javascript:;>> > wrote: > >>> On Thu, May 23, 2013 at 3:51 PM, Last Hacker Always onpoint > >>> <[email protected] <javascript:;>> wrote: > >>>> Hey I need code for random number 1-30 for my site. > >>> > >>> function rand_from_1_to_30() { > >>> return 4; > >>> } > >>> > >> > > Did you actually try that? > > Thanks, > Ash > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- - Nick