PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
CREATE TABLE user_value (`user_name` varchar(4), `user_pass` varchar(3)) ; select * from user_value;
Copy Clear
Copy Format Clear
<?php $q = mysqli_prepare( $mysqli, "INSERT INTO `user_value` (`user_name`, `user_pass`) VALUES (?, ?)" ); $q->bind_param("dzsdqdsq", $user_names, $user_pass); $q->execute(); $r=mysqli_real_escape_string($mysqli,"SELECT * FROM user_value"); echo $r;
Show:  
Copy Clear