Re: request
| From: | Weston Houghton | Date: | Thu, 29 May 2003 19:36:10 +0000 |
| Subject: | Re: request | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-149479@lists.php.net to get a copy of this message | ||
I would imagine that you have to add:
$random = gmp_strval($random);
In between the two lines to convert the resource to a string value.
Wes
On Thursday, May 29, 2003, at 04:24 PM, Marius wrote:
<? $random = gmp_random(10); echo "$random"; ?> how to do that it echoes a random number and not a Resource id #1, -- Marius mariusrk@delfi.lt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php