:( :( I still cant get it. I have elided some stuff to keep it simple. $projComment = $_POST["projComment"]; $banLive = $_POST["banLive"]; $banCapp = $_POST["banCapp"]; $banCat = $_POST["banCat"]; $postIntranet = $_POST["postIntranet"]; $eSent = $_POST["eSent"]; $archFiles = $_POST["archFiles"]; $progStatus = $_POST["progStatus"]; $testArray = array ( $banLive, $banCapp, $banCat, $postIntranet, $eSent, $archFiles, $progStatus ); foreach( $testArray as $key => $temp ) { if ( $temp == "" ) { $testArray[$key] = "TEMP"; } else { echo $testArray[$key] = "THIS"; } } But then when I try and echo the variable out later in the page eg. echo " <td class='button'>$banLive "; echo " </td> "; echo " <tr> "; The changes are not saved, and the variable prints out as blank still. :(