Hello there,
I have a problem with the checkboxes. When the page is loaded A text file is to be evaluated. If the Line 2 = "Line 2" then the checkbox from Checked should be marked
<?php
$Datei = file('test.txt')[2];
if(Datei = "Line 2"){
//Here should be the Checkbox marked as Checked
// should here come the html code ?? <input type="checkbox" name="Checkbox" checked='checked' value="checkbox">Checkbox</input>
}else{
//Here should be the Checkbox as non Checked
}
?>
<input type="checkbox" name="Checkbox" checked='checked' value="checkbox">Checkbox</input>