Re: [PHP] mt_strand

2004-02-13 Thread Richard Davey
Hello Angela, Friday, February 13, 2004, 10:37:47 AM, you wrote: AKH> However - I'm not 100% sure how to incorporate it into my code - I have AKH> tried a few things but each time I break the code. Your make_seed() function isn't going to work in this instance because the important parts of it a

Re: [PHP] mt_strand

2004-02-13 Thread Jason Wong
On Friday 13 February 2004 18:37, Angela K Hilton wrote: > I could do with some pointers in using mt_strand.> You do mean mt_srand() ? [snip] > mt_srand(make_seed()); Just do the above *once*, somewhere near the top of your code (anywhere before you use mt_rand()). Then just use mt_rand() wh

RE: [PHP] mt_strand

2004-02-13 Thread Angela K Hilton
CTED] Sent: 13 February 2004 10:45 To: [EMAIL PROTECTED] Subject: RE: [PHP] mt_strand Hi Angela, I don't understand why you are using the following line: You have to use somthing like: The other part of your code looks fine to me. Regards, Hamid --- Check Amazon.com

[PHP] mt_strand

2004-02-13 Thread Angela K Hilton
Hi All I could do with some pointers in using mt_strand. I understand that because my server has and have found the following in the PHP manual: However - I'm not 100% sure how to incorporate it into my code - I have tried a few things but each time I break the code. Any help will b