note 68942 rejected from function.mt-rand by betz

From: Date: Wed, 16 Aug 2006 21:25:40 +0000
Subject: note 68942 rejected from function.mt-rand by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-115983@lists.php.net to get a copy of this message
Note Submitter: t-set at hotmail dot com ---- i would like to use random replace for " " $delay = rand (zrf, hrg, rtn); $trans = array( " " => "$delay",); echo strtr($row_Recordset1['msg'], $trans); i tryed do this with number but the $trans did not replace every " " with the different $delay but olways with the same, how could i done that?

« previous php.notes (#115983) next »