• Resolved Bubai

    (@kolka)


    I’m submiting a form with ajax I’m facing thins error only for submiting form value into database but when I do echo its showing fine . I can’t understand what to do..

    my ajax page code is

    <?php
     echo $_POST['name'];
     echo $_POST['email'];
     echo $_POST['date'];
    
    $name = $_POST['name'];
    			$email = $_POST['email'];
    			$date = $_POST['date'];
    
    			global $wpdb;
    			$wpdb->insert("wp_form_data", array(
    			   "name" => $name,
    			   "email" => $email,
    			   "date" => $date,
    			   "verify" => "not verified",
    
    			));
    
    //$_SESSION['uemail'] = $_POST['ufemail'];
    
    ?>

    error
    https://prntscr.com/9fkl8u

    please help. very urgent

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘ajax form submit error’ is closed to new replies.