Jump to content

[SOLVED] which process is faster


abdfahim

Recommended Posts

I have a mysql table. I fetch the table using PHP and print those in webpage. The first column is Date, but I want to get the week number in my queries in place of Date. So which process do you think faster - convert the date to week using PHP when printing the query result or making another table with to columns (Week and corresponding Date) and inner join it with previous. I think the first process is faster, but just want to check it with experts.

Link to comment
https://forums.phpfreaks.com/topic/85002-solved-which-process-is-faster/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.