Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Markup (HTML, XHTML, XML) _ Naming convention in HTML

Posted by: CodeMaster Feb 24 2010, 04:59 PM

Can anyone answer this?

Can an Element "Name=?" be done with an array, such as Name = "Apple(1)", etc.? sad.gif
Is so, please give example.....

Thank you......

Posted by: pandy Feb 24 2010, 05:38 PM

In HTML? No. HTML isn't a programming language. There are no arrays, varaiables or anything like that.

Posted by: CodeMaster Feb 24 2010, 05:48 PM

QUOTE(pandy @ Feb 24 2010, 05:38 PM) *

In HTML? No. HTML isn't a programming language. There are no arrays, varaiables or anything like that.


OKay, I figured that. So, if I want to iterate code for an unknown amount of times. How can that be done without duplication?

Posted by: Darin McGrew Feb 24 2010, 06:42 PM

The reliable way to do it is to use some sort of server-side (e.g., CGI, PHP) program to generate the HTML.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)