PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
hi, thanks for the reply, i tried that but it returned the year and the week number (200618) something like that....what i want to achieve is that i will be able to reflect the value of that date in my php page, and its range like may6 - may12.
You can use the MySQL CONCAT() function to concatenate a string using parts, or you can select the data, then in PHP code use the strtotime() function in conjunction with the date() function to piece together what you are looking to do.
Do you have any code that you can show as to what you have done already? Even pseudo would be helpful.
hi, thanks for the reply...ok, just to make it simple, if i have the week 1 of 2007 (which is january 7 because sunday is my start of the week).. i want to display that as january 7 - january 13 as the first week, and so on...how can i achieve that? again, i was able to retrieve the number of week in mysql, but i don't know how to get its range. thanks again.