I have create a form and i want to store the form data in
wp_options table so for that i have created this query
$insertquery = $wpdb->query("INSERT INTO `wp_options`(`option_name`,`option_value`) VALUES ('smsfactory123','asdasdf')");
Now when i am importing the static data then it doesn't create any problem when i pass the variable which is containing array it shows me error.
$apidetail = array( 'userid' => $uid, 'userpassword' => $upwd, 'senderid' => $sid, 'ono' => $ono, 'message' => $message, );
This is how i am getting value of array in variable