Jump to content

LBPP

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

LBPP's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. i know this is easy... im just stupid, can no one give me a quick solution?
  2. I have a php script that shows a mini calendar on my site [url=http://www.LBPP.net/geeklog]http://www.LBPP.net/geeklog[/url], right now the days are abbreviated to 3 chars ie "Sun" because of this it is making the calendar too wide and is being cut off. I need to truncate the output of this script to just one char so its like "S" "M" "T" "W" "T" "F" "S". This is what i have: [code]  // Main Calendar $BlockDisplay .= "</td></tr><tr>";     for ($i = 0; $i < 7; $i++)     {         $BlockDisplay .= "<td align='center' valign='top' width='14%' class='mycalTitle'><font size='1'><b>"             . ucfirst(strftime("%a", $firstdaytodisplay + ($i * _MYCAL_DAY_)))             . "</b></font></td>";     } [/code] I did not write this code and am only trying to modify it, but my PHP skills are limited. Any insight in the direction i need to take would be much appreciated.
×
×
  • 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.