You aren't encapsulating your data with quotes, so it is thinking the next word is another variable. > <input type = hidden name = IDFIELD value = $thearray[id]> > <input type = hidden name = yourleague value = $league> > <input type = hidden name = yourteam value = $team> should become <input type=\"hidden\" name=\"IDFIELD\" value=\"$thearray[id]\"> <input type=\"hidden\" name=\"yourleague\" value=\"$league\"> <input type=\"hidden\" name=\"yourteam\" value=\"$team\"> HTH, Wolf -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php