Jump to content

Foracc

New Members
  • Posts

    2
  • Joined

  • Last visited

Foracc's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. hey thanks for the reply. Do I build the html into the PHP code? or can you change the HTML code via PHP?
  2. 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>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.