Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $user= $_POST['usr'];
- $pass= $_POST['pass'];
- $email= $_POST['eml'];
- $id= $_POST['mid'];
- global $wpdb;
- $subs = array('Username' => $user ,'Password' => $pass);
- $johnny=array( ‘ID’ => 15 ) ;
- $table_name='patient_info';
- $result=$wpdb->update($table_name, $subs, $johnny);
- //$result=mysqli_query($update_price);
- if($result)
- {
- echo "query working";
- }
- else
- {
- echo "query not working";
- }
- ?>
Add Comment
Please, Sign In to add comment