By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,208 Members | 1,215 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,208 IT Pros & Developers. It's quick & easy.

Auto increment numbers in php

P: 23
Hi guys,,,

I have simple problem,
Problem is that, i want that a php variable create date with numbers,

look like this:

$rtno = date("md,here some numbers but auto increment start from 001
and going on");
here md is month and date...
Is i am right or to create it on some other format like
two variables like :
$autoincre= number("generate numbers from 001")

And call it in the $rtno variable,,,
How to do this any body have some idea...

Thanks in advance.
Jan 29 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.