Results 1 to 6 of 6

Thread: Updating Content

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

    Default Updating Content

    Hey everyone...

    I'm developing a website which is an integration of a 8 WordPress weblogs with some static content. It's quite a huge endevor for me as my recent work has almost exclusively been in Flash and ActionScript.

    I got my start in CSS/HTML and jumped straight to ActionScript and haven't yet gotten a chance to learn up on my PHP and everything else that I probably should know.

    So, here is the deal.
    There is a section of the site that has a "News" section. Now, currently it's all html and therefore adding additional news in the future would require editing it in every single static file (around 15) and the WordPress themes for all 8 blogs. Not a very user friendly procedure.

    So, I'm guess there is a way to do this via PHP + MySQL and I was hoping someone could help me with it.

    Have a look at the current site to see what I mean (the left sidebar): www.demos.designsbvishal.com/thepaperbagwriter

    (the site is still in development so there might be a few bugs still)

    I'll also need a similar thing for the "personals" section below the video section.

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Server Not Available/Found when I click on the link you provided. Anyways, take a look through this website for some help on PHP and MySQL.

    http://www.php-mysql-tutorial.com/

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

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

    Default

    Sorry about the link, had a typ0

    THIS is the right url

  4. #4
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Well, you could do it in more than one way. You could use one file (let's call it news.txt) and simply include that file in every page that displays the "news" by adding this to every page:

    Code:
    <?php include('news.txt');?>
    That way there is only one file to edit for the news. The other option is (as you said) using MySQL. If you go that route, you could look through the site I linked to in my previous post and that will get you started.

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  5. #5
    Join Date
    Jun 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Thank you and can you now help me?

    Well this did help me with an issue that I was pondering so thank you!
    Can you offer suggestions to me on another thing?

    I have a personal website where I maintain a journal. I have been using a form as such:
    <form action="URI">
    <p align="center"><textarea
    name="my web site name"
    rows="16" cols="65"
    style="border-style: solid; background-color: rgb(255, 204, 255); font-family: verdana; color: rgb(153, 0, 255);"> Some text </form>
    This form has never been easy to work and now that I've switched from Frontpage to a new html editor, all kinds of glitches occur.

    I would like to find an easier way to maintain an online journal within my current page without having to send someone to a blog page or site, or have limits on the amount of text that I can enter (as with some tag boards).

    Do you have any suggestions?
    Thanks
    D

  6. #6
    Join Date
    Jun 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I just found a site by reading another post that has something that looks like could work.
    [URL="http://www.diaboliquedoll.net/public/pages/home.htm"]
    she has a journal link. Do you know what kind of script this is? Would this work for a site created in html? Thanks again.
    Last edited by bookwriter; 06-07-2007 at 10:50 AM.

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
  •