On Sun, 23 Jan 2005 10:43:03 +0400, Radwan Aladdin <raladin@xxxxxxxxxxxxxxx> wrote: > I wanted to know the best Random Function for PHP.. But please I don't want >duplications to happen at the same second.. because I receive many customers.. For that purpose, mt_rand ( [int min, int max]) function is your best friend, I guess. See http://in2.php.net/manual/en/function.mt-rand.php for more details. > And also how can I add abc@xxxxxxxxxxxxx, whic "abc" is a variable... and >"localhost.com" is a static text?? > So I only request from the user to enter the "abc" only and it will automatically >be : usertexthere@xxxxxxxxxxxxx //Do you mean -- $user = "someuser"; echo $user; //And you wish to make someuser@xxxxxxxxxxxxx ? //Then, $email_address = $user . "@localhost.com"; echo $email_address; //Will output someuser@xxxxxxxxxxxxx The dot (.) is the cocatenation (string-joining) operator. Regards, Samar M. = Warning: Dates in Calendar are closer than they appear. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php