[PHP] rand()

2002-03-13 Thread Jeff Sittler
I am wanting to use rand() to generate a number between 33-90 OR 125-146. Is there a way to do this? I don't want any numbers before 33 or between 91-124 or after 146. Could someone point me in the direction I need to look to accomplish this. Thanks, Jeff -- PHP General Mailing List

Re: [PHP] rand()

2002-03-13 Thread Jeff Sittler
the min and max would work if I wanted the number between 33 and 146, but I am wanting to specify two ranges, not just one. Please RTFP Jeff Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... On Thursday 14 March 2002 13:31, Jeff Sittler wrote: I am wanting to use rand

[PHP] Re: Connecting Form result to PHP query?

2002-03-13 Thread Jeff Sittler
If you use the get method, it will pass the variables in the query string. if you use post it will pass them in the server variable. Either way, you can reference them via the form name on the first page. For example: On the first page you have a field with the name: subject1 (input