last day (86 days later) » 

6:05 AM
hi
 
hi gud mrg
 
morning
please provide your whole form
 
@NishantSolanki okay
<?php
//shortcode [my_table id=""]
function custom_table_shortcode($atts)
{
extract(shortcode_atts(array(
'id'=>''
), $atts));
ob_start();
global $wpdb;

if(isset($_POST['insert']))
{
$name=$_POST['name'];
$address=$_POST['address'];
$rollno=$_POST['roolnp'];
//here get and send those details to mail
echo "form saved";

}

?>

<form id="twform" action="#" method="post">
<table id="twtable">
<tbody><tr>
<td>
<label>Name</label></td>

<td> <input type="text" value="" name="name"><br></td>
</tr>
 
hehehe
:P
I got it
 
:)
 
6:10 AM
replace your name="name" with name="name1"
and you are done
wordpress has reserved keyword name
so you can't use it in form
 
oh okay @Nishant Solanki
 
please try it and let me know
 
@NishantSolanki wow its working fine
thank you so much
 
enjoy
please consider accepting my answer
and +1 it
:p
 
sure
 
6:15 AM
thanks
 
any other reserved keyword
in wp
 
that I actually dont know
may be need to do reserch on it
 
@NishantSolanki okay
 
may be email is also the one
but m not sure
 
@NishantSolanki oh k k..
can you change your answer
 

  last day (86 days later) »