Two Html page for single page.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • phpmagesh
    New Member
    • Nov 2008
    • 119

    #1

    Two Html page for single page.

    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,
  • serdar
    New Member
    • Nov 2008
    • 88

    #2
    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("ColorT able.html"); // replace 'ColorTable.htm l' with path to your table template[/HTML]

    Comment

    • phpmagesh
      New Member
      • Nov 2008
      • 119

      #3
      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("ColorT able.html"); // replace 'ColorTable.htm l' with path to your table template[/HTML]

      Hai,

      Thankyou, your example helped me to do further,

      nice to meet you dude,

      regards

      magesh

      Comment

      Working...