EPierre posted on 2009-02-01 07:28:58 #
How can the user obtain a specific result by choosing values from 2 dropdown list.
As a result, the value obtained can not be modified by the user.The table of ten rows by ten columns have to be stored in a mysql dbase.. It's certanly possible , but tedious and time-consuming by using a bunch of "if ... then statements".
I need some help, as I'm NULL in JavaScript, Ajax and PHP.
An illustration worth 1000 words ...
From the matrix table, the final result is the coordinate of arow value and a column value.
Clear or confusing?
Hope someone can help....
Regards,
E. P.
The most popular forum posts:
Comments / discussions
Olaf posted on 2009-02-01 08:52:55 #
Do you know a site where I can see this kind of navigation?
EPierre posted on 2009-02-01 17:09:36 #
It's not matter of navigation.
In fact, the 10x10 table is a kind of price list for an art website.
What we need:
Given:
1.- a dropdown list with the size (Size A, B, C, D,...J) (first row of the table)
2.- another dropdown list with the # of figure (#1, 2,3, .... 10) (first column of the table)
3.-Result displays the corresponding price for each couple "size/# of figures)something as "If Size A=12 and # of figure=3, price= 45.00, so for each couple
The table should be stored in a MySQL dbase or/and a price list page.
Olaf posted on 2009-02-01 19:13:36 #
call what ever you like :)
since you need to navigate the page to get the result I call it "navigation".
I'm wondering that you don't provide an example, is this your own idea? If yes how do you create that kind of script? don't think that you find something for free (at least not a ready made script)
EPierre posted on 2009-02-02 14:54:02 #
It's my own idea.
Yesterday, I see something similar at: http://lawrence.ecorp.net/inet/home/frame.html
The challenge (at least for me), is to start from this program and get what I need. I'm not enough proficient for that.
Olaf posted on 2009-02-02 15:15:45 #
your link doesn't work...
Olaf posted on 2009-02-02 20:16:51 #
Got your PM. Note that you're able to edit your posts whenever you like.
I checked the site you send me but I can't find anything what sounds like your description
btw. what an old fashioned website ;)
EPierre posted on 2009-02-03 04:13:10 #
I agree. It's not easy to navigate thru it.
To go to the page we want:
Open http://lawrence.ecorp.net/inet/home/frame.html
1.- At the beginning (first paragraph), click on "web development techniques"
Scrolldwn untill "Dynamic HTML (DHTML)"
On "DHTML How-To", click on "Simultaneous Table column and row highlight"
and you 'll get it
Regards, E. P.
Olaf posted on 2009-02-03 06:03:35 #
I'm sorry, but this example has nothing to do with table sorting or Mysql / PHP.
Don't accept that someone on the Internet will write a script for free.
First find a similar script (or write your own) and look for help to fix your code.