note 28500 rejected from function.settype by jmcastagnetto

From: Date: Wed, 15 Jan 2003 01:42:07 +0000
Subject: note 28500 rejected from function.settype by jmcastagnetto
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-42154@lists.php.net to get a copy of this message
I'm trying to create series of filenames abcdef0001.jpg abcdef0002.jpg abcdef0003.jpg etc. in a loop if I use $startname.("0000"+$x) in a loop I end up with, abcdef1.jpg abcdef2.jpg abcdef3.pg etc. I'm trying to use settype($t1, "string") but not getting anywhere. TIA. tim

« previous php.notes (#42154) next »