Jump to content

abda53

New Members
  • Posts

    3
  • Joined

  • Last visited

abda53's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. abda53

    Arrays

    True, but what he was seeing was just notices, not true errors. You are right though, it should be coded so that there isn't anything to report in the first place
  2. abda53

    Arrays

    This will be in your php settings. You can hide these kind of errors, at the top of your php page put this code <? error_reporting(0); ini_set('display_errors', '0'); ?>
  3. This is how I normally do this.. maybe not the best way, but it works for me. <input type="checkbox" name="delete" value="1"> delete 1<br> <input type="checkbox" name="delete" value="2"> delete 2<br> <input type="checkbox" name="delete" value="3"> delete 3 <? foreach ($_POST['delete'] AS $var=>$val) { //do value checking... //then.. mysql_query("DELETE FROM `table` WHERE id='$val'"); } ?>
×
×
  • Create New...