[FX.php List] PHP error help

CSInfo CSinfo at comcast.net
Fri Jun 27 14:42:00 MDT 2008


After submitting a simple form using POST data to a file called
submitnew.php I get a PHP error No Action Taken. I know the POST data is
valid.
Any ideas where to start? Thank you, John Funk
 
Result of Form Submit:
ID: 01
Name: My Name
Location: My Location
Answer1: Exceeds Expectations
No Action Taken
 
Below is my submitnew.php file:

<?php
include_once('FX/FX.php');
//not needed yet
//include_once('FX/server_data.php');
 

$RAMSurveyID=$_POST['RAMSurveyID'];
$Name=$_POST['Name'];
$Location =$_POST['Location'];
$A1=$_POST['A1'];
//test for post data
echo 'ID: '.$RAMSurveyID.'<br>';
echo 'Name: '.$Name.'<br>';
echo 'Location: '.$Location.'<br>';
echo 'Answer1: '.$A1.'<br>';
 
$groupSize='50';
$suerveyijn=new FX('120.70.10.14','80','FMPro9');
$suerveyijn->SetDBData('RAMNet_Surveys.fp7','web_in',$groupSize);
$suerveyijn->SetDBPassword('webuser','webpass');
$suerveyijn->AddDBParam('Name',$Name);
$suerveyijn->AddDBParam('Location',$Location);
$suerveyijn->AddDBParam('A1',$A1);
$suerveyijnResult=$suerveyijn->FMNew();
 
echo $suerveyijnResult['errorCode'];
foreach($suerveyijnResult['data'] as $key=>$suerveyijnData);
 
?>
<html>
<head>
</head>
<body>
<table>
<tr>
<td>Name</td>
<td>Location</td>
<td>A1</td>
</tr>
<tr><td><?php echo $suerveyijnData['Name'][0]; ?></td>
<td><?php echo $suerveyijnData['Location'][0]; ?></td>
<td><?php echo $suerveyijnData['A1'][0]; ?></td></tr>
</table>
<br>
</body>
</html>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20080627/74f8f221/attachment-0001.html


More information about the FX.php_List mailing list