Thank you
That's it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
TR> $string = array();
TR> $string = array_pad($string,254,'A');
TR> --
TR> regards,
TR> Tom
Ignore this I was asleep :)
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Tuesday, August 20, 2002, 1:04:12 PM, you wrote:
S> In ASP I use the expression myvar = string(254,"A")
S> to have a var filled with 254 characters 'A'
S> What is the similar one in PHP?
Try this:
$string = array();
$string = array_pad($string,254,'A');
--
regards,
Tom
--
PHP Gen
str_repeat()
-Original Message-
From: Saci [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 1:04 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Replicate string or something similar
In ASP I use the expression myvar = string(254,"A")
to have a var filled with 254 cha
In ASP I use the expression myvar = string(254,"A")
to have a var filled with 254 characters 'A'
What is the similar one in PHP?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
5 matches
Mail list logo