I've read the tutorials and can't quite figure it out. I think I'm doing everything right.
But really need some help. This is the "Error Message": Illegal variable _files or _env or _get or _post or _cookie or _server or _session or globals passed to script.
This is the code from Dreamweaver
<form id="form1" name="form1" method="post" action="">
<img src="/images/stories/FF3G/FF4Top.jpg" width="607" height="79" /> <br />
<table width="765" height="117" border="5" bordercolor="#7695FF">
<tr>
<td align="left" valign="top"><img src="/images/stories/FF3G/Puzzle4.jpg" width="149" height="49" /><br />
<b>How many differences are there in the two pictures?
<input type="text" name="0006" id="0006" />
<br />
<img src="/images/stories/FF3G/P4PointsBot.jpg" width="498" height="43" align="right" /></b></td>
</tr>
</table>
<br />
<img src="/images/stories/FF3G/FF4Center.jpg" width="693" height="314" /><br />
<br />
<div align="center">Enter your answers Now and Win 50 Barstow Miles - Good for another Cash Drawing Entry Ticket
<input type="submit" name="0007" id="0007" value="Enter" />
<br />
</span></span></div>
<span style="width: 637px"><img alt="" height="66" src="/images/stories/FF3G/RememberBottom.jpg" width="339" /></span>
This is the "Autogenerated Code" form ChronoForms
<?php
$MyForm =& CFChronoForm::getInstance();
if($MyForm->formparams("dbconnection") == "Yes"){
$user = JFactory::getUser();
$row =& JTable::getInstance("chronoforms_FF2", "Table");
srand((double)microtime()*10000);
$inum = "I" . substr(base64_encode(md5(rand())), 0, 16).md5(uniqid(mt_rand(), true));
JRequest::setVar( "recordtime", JRequest::getVar( "recordtime", date("Y-m-d")." - ".date("H:i:s"), "post", "string", "" ));
JRequest::setVar( "ipaddress", JRequest::getVar( "ipaddress", $_SERVER["REMOTE_ADDR"], "post", "string", "" ));
JRequest::setVar( "uid", JRequest::getVar( "uid", $inum, "post", "string", "" ));
JRequest::setVar( "cf_user_id", JRequest::getVar( "cf_user_id", $user->id, "post", "int", "" ));
$post = JRequest::get( "post" , JREQUEST_ALLOWRAW );
if (!$row->bind( $post )) {
JError::raiseWarning(100, $row->getError());
}
if (!$row->store()) {
JError::raiseWarning(100, $row->getError());
}
$MyForm->tablerow["jos_chronoforms_FF2"] = $row;
}
?>
Like I said I'm very new to all of this and could use some help. I have a bunch of these
simple forms that need to be saved to a Data Base. Usually just one or two simple questions
that need to be answered. But the Form must have Graphics in it to match the answers to the questions. I'm really hope this Plug In will work for this. Thanks in Advance