hello there,
I have a site tested fine in localhost but when i hosted it into webserver the form submit button is not functioning like in the localhost.
here’s the code
echo"<tr>";
echo"<td rowspan='7' align='center' bgcolor='$color'><strong style='color:$color1; font-weight:bold'>".$result['pending_item']. "</strong></td>";
echo"<td>" ."Name: ".$result['pending_name']."</td>";
echo"<tr>";
echo"<td>" ."IC: ".$result['pending_ic']."</td></tr>";
echo"<tr>";
echo"<td>" ."Email: ".$result['pending_email']."</td></tr>";
echo"<tr>";
echo"<td>" ."Contact No.: ".$result['pending_contact']."</td></tr>";
echo"<tr>";
echo"<td>" ."Location: ".$result['pending_location']."</td></tr>";
echo"<tr>";
echo"<td>" ."Price: RM ".$result['pending_price']. "</td></tr>";
echo"<tr>";
echo"<td align='right'><form id='frmx3' name='frmx3' method='post' action=''>
<input name='button3' method ='post' type='submit' id='button3' value='Approve' align='right'/>
<input name='approved_date' type='hidden' id='approved_date' value='$upost'/>
<input name='approve_idll' type='hidden' id='approve_idll' value='$number' />
"."</form></td></tr>";
I just tested the code in localhost and everything working correctly. But not functioning in the web server.
Please advise.