Thank you Bob for taking time to help me.
Is there a easy way to debug (echo) the sql insert statement?
I have put the form in debug mode and deleted the redirect url, but still do not get the sql.
here the code in the AutoGenerated tab - #__chronoforms_4
$database->setQuery( "INSERT INTO #__chronoforms_4 VALUES (
'' ,
'". date('Y-m-d')." - ".date("H:i:s")."',
'".$_SERVER['REMOTE_ADDR']."',
'".JRequest::getVar('date','', 'post', 'string', '' )."',
'".JRequest::getVar('nome','', 'post', 'string', '' )."',
'".JRequest::getVar('cognome','', 'post', 'string', '' )."',
'".JRequest::getVar('data_nascita','', 'post', 'string', '' )."',
'".JRequest::getVar('indirizzo','', 'post', 'string', '' )."',
'".JRequest::getVar('citta','', 'post', 'string', '' )."',
'".JRequest::getVar('cap','', 'post', 'string', '' )."',
'".JRequest::getVar('telefono','', 'post', 'string', '' )."',
'".JRequest::getVar('email','', 'post', 'string', '' )."',
'".JRequest::getVar('tipo_iscrizione','', 'post', 'string', '' )."',
'".JRequest::getVar('corso','', 'post', 'string', '' )."',
'".JRequest::getVar('esperienza','', 'post', 'string', '' )."',
'".JRequest::getVar('lettura','', 'post', 'string', '' )."',
'".JRequest::getVar('improvvisazione','', 'post', 'string', '' )."',
'".JRequest::getVar('altri_seminari','', 'post', 'string', '' )."',
'".JRequest::getVar('altri_seminari_quali','', 'post', 'string', '' )."',
'".JRequest::getVar('reference','', 'post', 'string', '' )."',
'".JRequest::getVar('brani','', 'post', 'string', '' )."',
'".JRequest::getVar('consenso','', 'post', 'string', '' )."');" );
here the table structure
CREATE TABLE `jos_chronoforms_4` (
`cf_id` int(11) NOT NULL auto_increment,
`recordtime` text NOT NULL,
`ipaddress` text NOT NULL,
`date` longtext NOT NULL,
`nome` longtext NOT NULL,
`cognome` longtext NOT NULL,
`data_nascita` longtext NOT NULL,
`indirizzo` longtext NOT NULL,
`citta` longtext NOT NULL,
`cap` longtext NOT NULL,
`telefono` longtext NOT NULL,
`email` longtext NOT NULL,
`tipo_iscrizione` longtext NOT NULL,
`corso` longtext NOT NULL,
`esperienza` longtext NOT NULL,
`lettura` longtext NOT NULL,
`improvvisazione` longtext NOT NULL,
`altri_seminari` longtext NOT NULL,
`altri_seminari_quali` longtext NOT NULL,
`reference` longtext NOT NULL,
`brani` longtext NOT NULL,
`consenso` longtext NOT NULL,
PRIMARY KEY (`cf_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=29 ;
Can the problem be related to inserting commas or ' in the input form fields?
Thank you again!!
Luca