Hi again! I have one question about row[ ]....
How can I get the month and day from $row[date]??
Is it $row[date(Y)]? or some other way? Help me!
Thank in advance!
AZ
Check www.mysql.com for the date_format function: example select date_format(tablename.date,'%W-%D-%M-%Y') as formatdate from tablename
it depends on how you are storing your date info but this should work:
<? $month = date ('m-d', strtotime ($row['date'])); ?>
If you are using mySQL, then you should use mySQL's DATE_FORMAT function.
Devin:
Yeah! That what I need it! Thank you very much!!!! _