The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> How to pull in data into an HTML sheet
helpneeded22
post Jul 27 2012, 12:38 AM
Post #1





Group: Members
Posts: 1
Joined: 27-July 12
Member No.: 17,501



I have an HTML sheet that references the name of a single picture and a name for the picture.

I would like to frequently re-order the names and pictures.

I would like to just have picture 1 refer to pic1.jpg and the corresponding name just refer to name1. I know this could likely be done easily if I coded the page in php or asp.net but I have not taken the time to learn those yet. I was wondering if there is an easy way to just use something like javascript to pull this information in. The names, I would just type into some other sheet referencing each name to the actual name (ie. name1 = sunrise)

Is there any quick and easy way to do this in HTML, or is it time for me to learn php?



User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Jul 27 2012, 01:51 AM
Post #2


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



You can't do it with HTML. It isn't a programming language. It's just markup.

It can be done with JavaScript, assuming that JavaScript is supported and enabled in the visitor's browser. Debugging JavaScript can be "interesting" given browser differences.

It would be best to do it with a server-side program. PHP is a popular choice for server-side programs.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th March 2024 - 03:30 AM