no data in Joomla 1.5

fumocamel 19 Aug, 2008
Hi,
i installed ChronoForms on joomla 1.5

and start to create a form from test_form

i create a table too

but in mySql i have this 3 table:
conta_chrono_contact
conta_chrono_contact_plugins
conta_chronoforms_1 (whit record i need)

but when i submit my data nothing appear on my table...

Form Code
Nome: <input name="name" value="" type="text"><br />
Cognome: <input name="cognome" id="cognome" value="" type="text"><br />
{imageverification}
<input name="submit" value="Submit" type="submit"><br />


Auto Generated Code
<?php 
	$database =& JFactory::getDBO();
	srand((double)microtime()*10000);
	$inum	=	"I" . substr(base64_encode(md5(rand())), 0, 16);
	
$database->setQuery( "INSERT INTO #__chronoforms_1 VALUES  (
'' , '".$inum."','". date('Y-m-d')." - ".date("H:i:s")."', '".$_SERVER['REMOTE_ADDR']."' , '".JRequest::getVar('name','', 'post', 'string', '' )."' , '".JRequest::getVar('cognome','', 'post', 'string', '' )."' , '".JRequest::getVar('submit','', 'post', 'string', '' )."');" );
if (!$database->query()) {
echo "<script> alert('".$database->getErrorMsg()."'); window.history.go(-1); </script>
";
}
?>
Max_admin 19 Aug, 2008
all looks fine, if you didn't manage to fix this then get BETA 2, it has better DB handling!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
fumocamel 19 Aug, 2008
i try BETA2
but when i save the form i loose the form name...
This topic is locked and no more replies can be posted.