Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Creating a table HTML
rayman82
post Jul 25 2012, 02:17 PM
Post #1
Atomican
Overlord




Hey guys,

Not very good at HTML here. But I'm just wondering if HTML was able to allow me to set up tables and allow user's to input data and do calculations like in Excel? If so does any one know if there's a sample code I can use to test it.



Cheers guys,
Go to the top of the page
 
+Quote Post
ilyria109
post Jul 25 2012, 02:58 PM
Post #2
Atomican
Master




QUOTE (rayman82 @ Jul 25 2012, 02:17 PM) *
Hey guys,

Not very good at HTML here. But I'm just wondering if HTML was able to allow me to set up tables and allow user's to input data and do calculations like in Excel? If so does any one know if there's a sample code I can use to test it.



Cheers guys,


i don't know if it would help but give this a go

CODE
<table border="1">
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
</table>


as for user imput, i have no idea
that i just linked is for setting up a table.

EDIT: Actually... I haven't fiddled with it, but try to incorperate the "form" code into it. i dont know if its possible. here's a sample code.
CODE
<form>
First name: <input type="text" name="firstname" /><br />
Last name: <input type="text" name="lastname" />
</form>


This post has been edited by ilyria109: Jul 25 2012, 03:00 PM
Go to the top of the page
 
+Quote Post
syryon
post Aug 13 2012, 11:59 AM
Post #3
Lurker
Serf




QUOTE
But I'm just wondering if HTML was able to allow me to set up tables and allow user's to input data and do calculations like in Excel?


Yes, this is very much possible but depends on how you would like to achieve the outcome.

Do you want user's to enter data and be given a 'thankyou' page whilst some number crunching gets done in the background and provides 'Admins/user's' with an answer? (aka so when they close browser it will store the data for admins / user's at a later time. session ID's, )

Or do you simply want something that is like a 'calculator' on a webpage where a user inputs data and receives an answer within the same web session? (aka so when they close browser it will not store the data)

Was this similar to what you are after as far as calculations / how it calculates?

http://www.digitaldutch.com/unitconverter/
Go to the top of the page
 
+Quote 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: 19th May 2013 - 12:59 PM