Forum Home
Press F1
 
Thread ID: 73632 2006-10-27 01:29:00 MYSql - remove all records from table- but leave index set for next record Morgenmuffel (187) Press F1
Post ID Timestamp Content User
494693 2006-10-28 00:39:00 Hi all

Sorry about the delay in replying, the forum was doing loopy things over the weekend, so i left it till today to reply

for labeling my images i have decided to label them using a combination of the date and a random number

so the images will look something like this

3010069481.jpg

So I'll use code similar to the below
$prefix = ((date("mdy")).(rand(100, 500)))
$new_image_name = $prefix.$index.'.jpg';

thanks all
Morgenmuffel (187)
1 2