Connecting Tech Pros Worldwide Forums | Help | Site Map

Two Html page for single page.

Member
 
Join Date: Nov 2008
Location: Chennai, India
Posts: 100
#1: Nov 19 '08
Hai to all,

I have a Html page with some functions, what i want to do is, i want to write php code for displaying a html table in page,

if i selected the option for example color, then that table should show the colors in one table with radio buttons to select,

if i didnt select the color option, then page should not show the Color option table in html page..


Can any one help me in this please,

Thanks in advance,

Member
 
Join Date: Nov 2008
Posts: 80
#2: Nov 19 '08

re: Two Html page for single page.


Clarify where do you select the option to display it. Do you want your users to select? Please post a sample code you are using.

[HTML]if ($showColors) require("ColorTable.html"); // replace 'ColorTable.html' with path to your table template[/HTML]
Member
 
Join Date: Nov 2008
Location: Chennai, India
Posts: 100
#3: Nov 20 '08

re: Two Html page for single page.


Quote:

Originally Posted by serdar

Clarify where do you select the option to display it. Do you want your users to select? Please post a sample code you are using.

[HTML]if ($showColors) require("ColorTable.html"); // replace 'ColorTable.html' with path to your table template[/HTML]


Hai,

Thankyou, your example helped me to do further,

nice to meet you dude,

regards

magesh
Reply