Hi,
I want my users - who decide to complete a form - automatically be registered for Letterman. (J1.0.x)
I've tried this in the "Auto Generate"-tab:
But it doesn't seem to work...
Doesn anyone know how I can realize this?
I want my users - who decide to complete a form - automatically be registered for Letterman. (J1.0.x)
I've tried this in the "Auto Generate"-tab:
$sql1 = "INSERT INTO #__chronoforms_1 VALUES (
'' , '".$inum."','". date('Y-m-d')." - ".date("H:i:s")."', '".$_SERVER['REMOTE_ADDR']."' , '".mosGetParam($_POST,'email','')."' , '".mosGetParam($_POST,'name','')."' , '".mosGetParam($_POST,'tel','')."');";
$sql1 .= "INSERT INTO #__letterman_subscribers VALUES (
'' , '','', '".mosGetParam($_POST,'email','')."' ,'1', '')."');";
$database->setQuery( $sql1 );
But it doesn't seem to work...
Doesn anyone know how I can realize this?