if ($checkbutton==1) { //mache irgendetwas }