User Profile

Collapse

Profile Sidebar

Collapse
CJBee
CJBee
Last Activity: Mar 9 '11, 09:58 AM
Joined: Mar 7 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Could I have some help on how to write those If statements? I am still quite new to php and mysql.
    See more | Go to post

    Leave a comment:


  • The problem is that the fields that are being displayed are hard coded into the sql query in the php code. I need to know how to get the options the client makes in the check boxes in the html page into the sql query and php code.
    See more | Go to post

    Leave a comment:


  • CJBee
    started a topic select which fields to display in resultant table
    in PHP

    select which fields to display in resultant table

    I have the following html code and php code. I would like clients to select which fields in the mysql database they would like to have appear in the resultant table by checking the text box next to the field in the html form. For instance they should be able to select first name and city and have only those columns appear in the resultant table.

    Code:
    <html>
    <head>
    <title>Search Clients Database</title>
    ...
    See more | Go to post
No activity results to display
Show More
Working...