From: Jackson Miller [EMAIL PROTECTED]
They are codes for date formatting.
Specifically:
%s represents seconds with leading zeros.
%d represents day of the month with leading zeros
so
date(%s %d,mktime());
would equal something like
59 08
Actually you'd get:
%59 %08
because date()
They are codes for date formatting.
Specifically:
%s represents seconds with leading zeros.
%d represents day of the month with leading zeros
so
date(%s %d,mktime());
would equal something like
59 08
you can find all the date codes at http://php.net/date
-Jackson
P.S. I hope you at least
They are codes for date formatting.
Specifically:
%s represents seconds with leading zeros.
%d represents day of the month with leading zeros
They can also be codes for the printf family of functions:
%s represents string
%d represents number
See http://php.net/sprintf
what is %s and %d I see these in php tutorials. These are used in printing
data from database but I don't know why we use %s and %d. And is there any
expressions like this? Thank you for your answers.
_
MSN 8 with e-mail virus
4 matches
Mail list logo