Re: Random
| From: | Ashley Sheridan | Date: | Fri, 24 May 2013 07:24:58 +0000 |
| Subject: | Re: Random | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-321194@lists.php.net to get a copy of this message | ||
Last Hacker Always onpoint <lasthacker1@gmail.com> wrote:
>I needed something like this echo(rand(1,30))
>
>On 5/24/13, Last Hacker Always onpoint <lasthacker1@gmail.com> 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 <tamouse.lists@gmail.com> wrote:
>>> On Thu, May 23, 2013 at 3:51 PM, Last Hacker Always onpoint
>>> <lasthacker1@gmail.com> 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