"Name", 'name'=>"name", 'type'=>"text", 'field_id'=>"name", 'isDate'=>"N", 'isRequired'=>"Y", 'extra'=>"class=' validate required input'", 'validationMessage'=>"Pleae enter Name", ); $formA['company_name']=array( 'caption'=>"Company Name", 'name'=>"company_name", 'type'=>"text", 'field_id'=>"company_name", 'isDate'=>"N", 'isRequired'=>"Y", 'extra'=>"class=' validate required input'", 'validationMessage'=>"Pleae enter Company Name", ); /* $formA['contant']=array( 'caption'=>"Contant", 'name'=>"contant", 'type'=>"text", 'field_id'=>"contant", 'isDate'=>"N", 'isRequired'=>"N", 'extra'=>"class=' input'", 'validationMessage'=>"Pleae enter Company Name", ); */ $formA['email']=array( 'caption'=>"Email Address", 'name'=>"email", 'type'=>"text", 'field_id'=>"email", 'isDate'=>"N", 'isRequired'=>"Y", 'extra'=>"class='validate required emails input'", 'validationMessage'=>"Pleae enter Email Address", 'checkunique'=>"Y", ); $formA['phone']=array( 'caption'=>"Phone", 'name'=>"phone", 'type'=>"text", 'field_id'=>"phone", 'isDate'=>"N", 'isRequired'=>"Y", 'extra'=>"class='validate required input'", 'validationMessage'=>"Pleae enter Phone", ); if(!empty($_POST)){ $formValues=$_POST; $formClass->dbTable='tblmember'; if(!$formClass->processFormToDb($formA,$formValues,'')){ $error=$formClass->error; //echo '

'.$error.'

'; //exit; } else { $query="SELECT * FROM universallogin where id=1"; $res=$dbClass->getSingleResult($query); $loginLink=MAIN_URL.'/'.'login.php'; $subject="AIOI Login Detail"; $messageEm="Thank you for signup.
Your login detail is as below

Username : {$res['login']}
Password : {$res['password']}

Click Here to login. "; $generalClass->sendMailFromAdmin($_POST['name'],$_POST['email'],$subject,$messageEm,'PHP'); $formClass->emailWrapper="[CAPTION] : [VALUE]
"; $formClass->emailSubject='New Member Signup'; $formClass->emailTo=ADMIN_EMAIL; $formClass->emailReplyTo=ADMIN_EMAIL; $formClass->adminFromEmail=ADMIN_EMAIL; $formClass->emailHeader="New Member Signup Form is submiited
Detail is as below
"; $formClass->emailFooter=""; $formClass->emailAppend=""; $formClass->emailPrepend=""; $mailContent=$formClass->sendFormEmail($formA,$formValues); $formClass->emailMessage=$mailContent; //echo $mailContent; //exit; $formClass->sendEmail(); $message='Thank you for sign up.
Your login detail has been send to your email address.'; $completed=1; } } else { $formValues=array(); } ?> AIOI : Demos & Download