Click here to Skip to main content
15,908,172 members

Comments by Member 12010285 (Top 3 by date)

Member 12010285 2-Feb-22 13:28pm View    
Deleted
Member 12010285 2-Feb-22 13:24pm View    
It says Undefined index: message1. I did like this: var msg1 = "Connected to "+host +"on port "+port; document.getElementById("message1").value = msg1; `
and in html - input type="hidden" id="message1" name="message1"
echo $_POST['message1'];
Member 12010285 1-Feb-22 20:08pm View    
It won't work! If it is outside the function it works. It is outside the function so it doesn't work. I tried it.