title: how to set date day name from datepicker as column name in mysql database..?
body: <p>for e.g. if i pick date from datepicker and if that day is wednesday i want to get all data from "wed" column having particualr value only.....</p>
  
  <p>i need php code and mysql qyery for this??</p>
  
  <pre><code>-- Table structure for table `list`
  --
  
  CREATE TABLE `list` (
    `id` int(11) NOT NULL auto_increment,
    `Mon` char(1) default NULL,
    `Tue` char(1) default NULL,
    `Wed` char(1) default NULL,
    `Thur` char(1) default NULL,
    `Fri` char(1) default NULL,
    `Sat` char(1) default NULL,
    `Sun` char(1) default NULL,
    PRIMARY KEY  (`id`)
  ) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=20 ;
  </code></pre>