I have a column that stores a 1-digit value for Day of Week:
0 = Sunday
1 = Monday
...
6 = Saturday
I tried PHP date('l', $row['dow']) and MySQL DATE_FORMAT(dow, '%w') but neither return the Day of Week word.
Is it possible in PHP or MySQL to do this or do I just need to create an array() var?
You need a full date/timestamp for any of the date formatting functions to work. Just a “1” or “2” doesn’t mean anything to these functions (or at least not what you want it to mean). If you are storing a full timestamp, there’s no real need to store the day of the week again separately. Otherwise, you’ll need to translate those otherwise meaningless numbers to a word yourself.