if(empty($query["nota"])){ echo "<input type='text' name='text' />";}else{ //codigo cuando hay notas}