Jump to content

kirstenmarie

New Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by kirstenmarie

  1. I've never used is_array before or keys to check for the value. I have a multi check box form. Some or all of the boxes can be checked or none is ok. I am trying to create exception handling before the values hit the database to make sure that only the value of the check box is being passed. Would my code look like.. if is_array($_POST[interest] = true) value [1] == "sewing"->sewing if value [1] !=="sewing" thrown an exception value [2] == "hiking" ->hiking Am I on the right track? profile.php
×
×
  • 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.