Shotbeak.com
msgbartop
On Air: Student, aspiring web entrepreneur and musician.
msgbarbottom

17 Jul 08 No linebreaks needed.

Tags:

I quickly did some work on lolstupids.com. Some changes:

-Added ads (If the site pays for itself, I’ll be happy!)

-When adding a quote, you don’t need to add manual <br> tags anymore. In PHP there is a nifty function called nl2br($string) that automatically inserts <br> tags into a string when it reaches a linebreak. :)

-Changed the front page. Instead of having news there, I decided to let it link to this blog with “lolstupids” tags. It is now a tad neater.

Yeah, that’s it.

On my some time to-do list is: editing functions for admin, emailing users when quotes are accepted and much better looking website.

Become a share-bear:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • muti
  • Reddit
  • Slashdot
  • StumbleUpon
  • Tumblr
  • TwitThis
Similar Posts:
  • Simon
    I know. >_<

    I lost it when I formatted my PC. Silly me. I'll slowly but surely post it there. It will take time.
  • There's only one problem with the site, IMO, and that's the lack of quotes. I thought you had a collection!
blog comments powered by Disqus