![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archiveAppending an integer to a string
From: Robizzle <Rob.Meyer1@gmail.com>
Date: Fri Oct 07 2005 - 20:44:52 CEST
I am having problems appending a number to the end of a string. I
so I have:
$filename = 'test.file.";
and I want to change $filename to become 'test.file.0'.
$filename .= $i; //doesn't work
So, how could I do this using these variables?
(I plan to do this inside a loop, and loop until test.file.i does not
Cheers,
|