/    Sign up×
Community /Pin to ProfileBookmark

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.

to post a comment
Full-stack Developer

3 Comments(s)

Copy linkTweet thisAlerts:
@pyroAug 11.2003 — 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? ?
Copy linkTweet thisAlerts:
@murkauthorAug 11.2003 — 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)
Copy linkTweet thisAlerts:
@pyroAug 11.2003 — 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...
×

Success!

Help @murk spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...