Jump to content

otuatail

Members
  • Posts

    961
  • Joined

  • Last visited

Everything posted by otuatail

  1. Hi I have to show all records over selected periods Last 6 months 2015 2014 2013 Before 2013 The first is easy WHERE LastVisit > DATE_ADD(CURRDATE, INTERVAL -6 MONTH I am finding the others harder. If I have to extract the year it could be a slow query.
  2. Sorry missed that one. Thanks.
  3. if($POST['F_Name'] != "") echo $_POST['F_Name']; else echo "No F name"; if(trim($POST['F_Name']) != "") echo $_POST['F_Name']; else echo "No F name"; if(trim($POST['F_Name']) !== "") echo $_POST['F_Name']; else echo "No F name"; I have tried all combinations
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.