<?php
$ju = '{"type":"user"}';
// $ju = json_decode($ju);
// $ju->email = "gk@gk10.com";
// $ju = json_encode($ju);
$bl = "";
$modify = "2020-02-05 09:10:23";
$stmt = $conn->prepare("insert into user1 (login,password,password1,email,mobile,extra,modify,info) values (?,?,?,?,?,?,?,?)");
$stmt->bind_param("ssssssss",$user1->user_login, $user1->user_password,$bl,$user1->user_email,$bl,$bl,$modify,$ju);
// i - integer d - double s - string b - BLOB
if ($stmt->execute())
echo "OK";
else
echo $stmt->error;
$stmt->close();
?>