Greetings,
This problem kept me searching for a solution for days.
I hope someone can help me.
I can't find spelling errors
Below is part of the form. (The whole form can be had at www.pebesoft.co.nz/ir4312.htm
The other part of the form works OK
A Var dump does not show the variables.
Posting those variables give the following notces:
Notice: Undefined index: co48 in C:\wamp\www\submitir412.php on line 199
Notice: Undefined index: cd48 in C:\wamp\www\submitir412.php on line 200
Notice: Undefined index: co49a in C:\wamp\www\submitir412.php on line 201
Notice: Undefined index: co49b in C:\wamp\www\submitir412.php on line 202
Notice: Undefined index: co49c in C:\wamp\www\submitir412.php on line 203
Notice: Undefined index: co50a in C:\wamp\www\submitir412.php on line 204
Notice: Undefined index: co50b in C:\wamp\www\submitir412.php on line 205
Notice: Undefined index: co50c in C:\wamp\www\submitir412.php on line 206
Notice: Undefined index: co50d in C:\wamp\www\submitir412.php on line 207
Notice: Undefined index: co51 in C:\wamp\www\submitir412.php on line 208
Notice: Undefined index: cod51 in C:\wamp\www\submitir412.php on line 209
Notice: Undefined index: co52 in C:\wamp\www\submitir412.php on line 210
Notice: Undefined index: co53 in C:\wamp\www\submitir412.php on line 211
Notice: Undefined index: cd53 in C:\wamp\www\submitir412.php on line 212
Notice: Undefined index: co54 in C:\wamp\www\submitir412.php on line 213
Notice: Undefined index: co54a in C:\wamp\www\submitir412.php on line 214
Notice: Undefined index: co55 in C:\wamp\www\submitir412.php on line 215
<form name="IR4" id="IR4" onsubmit="return checkform(this)" method="post" action="submitir412.php" enctype="multipart/form-data">
<td class="c13" align="left" height="30" width="1005"><strong><span class="c18"><span class="c11 c5">48 Opening balance at 1 April Enter D for debit or C for credit </span> <span class="c19 c4"><input name="cd48" class="c28" size="3"></span></span></strong></td>
<td class="c13"><span class="c18 c24 c15 c4">
<!--webbot bot="Validation" s-data-type="Number" s-number-separators=",." --><input name="co48" size="10" class="c20" onblur="this.value=formatAmount(this.value);" onmousemove="FDP(this.form)"></span></td>
</tr>
<tr>
<td class="c13" align="left" height="30" width="1005"><strong><span class="c11 c5">49A FDT paid</span></strong></td>
<td class="c13"><span class="c18 c24 c15 c4">
<!--webbot bot="Validation" s-data-type="Number" s-number-separators=",." --><input name="co49a" size="10" class="c20" onblur="this.value=formatAmount(this.value);" onmousemove="FDP(this.form)"></span></td>
</tr>
<tr>
<td class="c13" align="left" height="30" width="1005"><strong><span class="c11 c5">49B FDP credits attached to dividends received</span></strong></td>
<td class="c13"><span class="c18 c24 c15 c4">
<!--webbot bot="Validation" s-data-type="Number" s-number-separators=",." --><input name="co49b" size="10" class="c20" onblur="this.value=formatAmount(this.value);" onmousemove="FDP(this.form)"></span></td>
</tr>
<tr>
<td class="c13" align="left" height="30" width="1005"><strong><span class="c11 c5">49C Total credits</span></strong></td>
<td class="c13"><span class="c18 c24 c15 c4">
<!--webbot bot="Validation" s-data-type="Number" s-number-separators=",." --><input name="co49c" size="10" class="c20" readonly="readonly" onmousemove="FDP(this.form)"></span></td>
</tr>
<tr>
<td class="c13" align="left" height="30" width="1005"><strong><span class="c11 c5">Debits</span></strong></td>
<td class="c13"></td>
</tr>
<tr>
<td class="c13" align="left" height="30" width="1005"><strong><span class="c11 c5">50A FDP credits attached to dividends paid</span></strong></td>
<td class="c13"><span class="c18 c24 c15 c4">
<!--webbot bot="Validation" s-data-type="Number" s-number-separators=",." --><input name="co50a" size="10" class="c20" onblur="this.value=formatAmount(this.value);" onmousemove="FDP(this.form)"></span></td>
</tr>
<tr>
<td class="c13" align="left" height="30" width="1005"><strong><span class="c11 c5">50B FDP refunded</span></strong></td>
<td class="c13"><span class="c18 c24 c15 c4">
<!--webbot bot="Validation" s-data-type="Number" s-number-separators=",." --><input name="co50b" size="10" class="c20" onblur="this.value=formatAmount(this.value);" onmousemove="FDP(this.form)"></span></td>
</tr>
<tr>
<td class="c13" align="left" height="30" width="1005"><strong><span class="c18"><span class="c11 c5">50C Other</span> <span class="c19 c4"><input name="other50c" class="c31" size="72"></span></span></strong></td>
<td class="c13"><span class="c18 c24 c15 c4">
<!--webbot bot="Validation" s-data-type="Number" s-number-separators=",." --><input name="co50c" size="10" class="c20" onblur="this.value=formatAmount(this.value);" onmousemove="FDP(this.form)"></span></td>
</tr>
<tr>
<td class="c13" align="left" height="30" width="1005"><strong><span class="c11 c5">50D Total debits</span></strong></td>
<td class="c13"><span class="c18 c24 c15 c4">
<!--webbot bot="Validation" s-data-type="Number" s-number-separators=",." --><input name="co50d" size="10" class="c20" readonly="readonly" onmousemove="FDP(this.form)"></span></td>
</tr>
<tr>
<td class="c13" align="left" height="30" width="1005">
<p class="c37 c2"><span class="c24"><strong><span class="c11
// part of submit form
$co48 = $_POST;
$cd48 = $_POST;
$co49a = $_POST;
$co49b = $_POST;
$co49c = $_POST;
$co50a = $_POST;
$co50b = $_POST;
$co50c = $_POST;
$co50d = $_POST;
$co51 = $_POST;
$cd51 = $_POST;
$co52 = $_POST;
$co53 = $_POST;
$cd53 = $_POST;
$co54 = $_POST;
$co54a = $_POST;
$co55 = $_POST;