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

Auto increment numbers in php

mmarif4u
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.