I have array with alphanumeric key values..While filling array on particular condition I have filled array key with empty
word. Now I want if on key empty
is arises array should be increment with one position, so that that value is not stored in db. Simply want to skip that key and move to next.
foreach( $inputs as $key => $value) {
if(key($inputs)=="empty"){ $inputs[]++; }
else{ echo "<strong>$key</strong> Singer <strong>$value</strong></br>";
//INSERT Query; }
}