I have what should be a simple form to pass data to a php page. The form is:
use
<input type="text" id="SetListName" name="SetListName" />
you have not used name
attribute
You need to have a 'name' attribute in the form for each input field that you want to read in PHP. So you're code should read:
<form action="php/setlist.php" method="post">
<input type="text" id="SetListName" name="SetListName"/>
<input type="hidden" id="newList" name="newList" value="" readonly="readonly" style="border: none;">
<input type="submit" style="width:150px;"><br /><br />
Replace
<input type="text" id="SetListName" />
with
<input type="text" id="SetListName" name ="SetListName"/>
You are missing name
attribute in:
<input type="text" id="SetListName" />