Results 1 to 2 of 2

Thread: User-updateable content - advice required

  1. #1
    Join Date
    Jan 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question User-updateable content - advice required

    Hello everyone. I've used Dynamic Drive for ages, but this is my first venture into the forums!
    I maintain a website for a Hospice charity ( http://www.willowwood.info). It's not at the cutting edge of web design (built at zero cost apart from my time), but it gets the message across.
    They run a weekly lottery, and would like to post the winning numbers themselves every week. Problem is, they don't have anyone with experience of updating HTML and uploading it. So, I was pondering on how I could give them this facility?
    My plan was to create a hidden or password-protected form page, where they could just type in the numbers. This would update a winning numbers "database" (probably an XML file), which could be sucked in to another (read only) HTML page, where the winning numbers are displayed. I'd like to show the last 4-5 weeks' numbers on this page, and use CSS to display them as "lottery balls".
    Can't be that tricky, can it? Or is there a better alternative? I'd like to create this without resorting to "proper" database software behind the scenes (MySQL etc), as support from the hosting company is a bit patchy.

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    If you have PHP support, you can easily read/write to a basic text file.

    Tutorial: http://www.trap17.com/index.php/how-...hp_t26601.html

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •