Posts

Showing posts with the label BITINFORMACTIC

contact us page

For Me   <?php  /***************** PHP Code **********************/  require_once( 'config/bootstrap.php' );  if(isset( $_POST ) && ( $_REQUEST [ "mode" ]== 'send' )){ $name  =  strip ( $_POST [ 'txtname' ]);  $email  =  strip ( $_POST [ 'txtemail' ]);  $ph  =  strip ( $_POST [ 'txtphone' ]); $msg  =  strip ( $_POST [ 'txtcomment' ]); $headers  =   "From: " . $email . "\r\n" ;  $headers  .=  'MIME-Version: 1.0'  .  "\r\n" ; $headers  .=  'Content-type: text/html; charset=iso-8859-1'  .  "\r\n" ; $headers  .=  "\r\nX-Mailer: PHP/"  .  phpversion (); $subject  =  "contact us: nethomes.com" ; $message  =  "Name: "  .  $name  . "<br> Phone No: "  .  $ph .  "<br/>Em...

add data without html editor

str_replace('&nbsp;',' ',strip_tags($_POST["txtcomment"]))

add more input box in html

Name   Designation   /**************** HTML Code **************************/ <tr> <td width="30%" align="right"  valign="top"> <label class="mylbl">  Contact person  &nbsp;</label></td> <td width="50%"  valign="top"> <table id="addmorecontact"> <tr> <td><label class="mylbl">  Name &nbsp;</label> </td> <td><label class="mylbl"> Designation &nbsp;</label> </td> <!-- <td>  </td>--> </tr> <tr id="inputbox0">     <td><input type="text" name="txtname[]" id="txtname0" style="width:200px" class="box " /> </td> <td> <input type="text" name="txtdesig[]" id="txtdesig0" style="width:185px...