Click to See Complete Forum and Search --> : newbie question about data items ...


murk
08-11-2003, 04:50 PM
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.

pyro
08-11-2003, 04:55 PM
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? ;)

murk
08-11-2003, 04:59 PM
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)

pyro
08-11-2003, 05:04 PM
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...