www.webdeveloper.com
Results 1 to 4 of 4

Thread: newbie question about data items ...

  1. #1
    Join Date
    Aug 2003
    Posts
    2

    newbie question about data items ...

    HI, i have a small retail website, just framed HTML, nothing else. Certain items appear on many pages on the site, and I'd like to make it easier to update stock levels on items like this. I envisage something like "StockItem12345level = 4" in some sort of database, and then referencing that field on all pages where the item appears, so that I only update the data item once.


    Trouble is, i have NO idea how to go about it ....


    Please assume I dont know anything about php, SQL or ... well .. pretty much anything.

  2. #2
    Join Date
    Dec 2002
    Location
    High on life
    Posts
    10,104
    You are going to want to learn the two things that you mentioned above that you knew nothing about... PHP and mySQL. You could also use some other server-side langage/database, but why, when you could be using PHP?

    Personal website http://www.ryanbrill.com/
    Business website: http://www.infinitywebdesign.com/
    TypeSpace http://www.typespace.org/

    I reject your reality and substitute it with my own!

  3. #3
    Join Date
    Aug 2003
    Posts
    2
    ahhhh. my host doesn't support PHP nor has plans to implement it. I realise this is a bit old-hat, but they are ultra reliable and i'm reluctant to change (particularly as I just paid for another 12 months service). Is it possible to host php modules (or whatever they are called) on another server and call the data in ? Or does the whole site need to be rewritten and moved to another host ?

    (sorry if Im using the wrong terminology - Im self taught)

  4. #4
    Join Date
    Dec 2002
    Location
    High on life
    Posts
    10,104
    I'm assumbing then, that it doesn't support mySQL? If it does, you could use Perl to access the DB. Also, I believe that the DB will have to reside on the sever that is calling the data...

    Personal website http://www.ryanbrill.com/
    Business website: http://www.infinitywebdesign.com/
    TypeSpace http://www.typespace.org/

    I reject your reality and substitute it with my own!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles