Data Manager ADD function
Data Manager ADD function
plastelinko
Posts: 5Questions: 2Answers: 0
Data Manager PHP ADD function receives null value for all input fields from formAddNewRow...Any help???
<form id="formAddNewRow" action="#" title="Add a new employer" style="width:600px;min-width:600px">
<input type="hidden" name="idangazovanja" rel="0" />
<label for="ime">Ime radnika</label><br />
<input type="text" name="ime" id="ime" class="required" rel="1" />
<br />
<label for="prezime">Prezime radnika</label><br />
<input type="text" name="prezime" id="prezime" class="required" rel="2" />
<br />
<label for="projekat">Projekat</label><br />
<select name="idprojekta" id="idprojekta" rel="4">
<option value="1">Projekat1</option>
<option value="2">Projekat2</option>
<option value="3">Projekat3</option>
</select>
<br />
</form>
...and jquery call external php function for submit:
...makeEditable({
sUpdateURL: function(value, settings){
return(value);
},
sAddURL: "add.php",
sAddHttpMethod: "POST",
sDeleteHttpMethod: "GET",
sDeleteURL: "delete.php",...
For example...On the server side, in add.php function, $_POST['ime'] is null...Does anyone know where I'm wrong?
This discussion has been closed.
Answers
i found solution...:)