WordPress Query Removes ‘$’
-
I am trying to get the hashed password from my database to a variable and verify it to make sure that the password the user entered is correct. When I get the password from the database all the ‘$’ signs are removed. This is what I use to get the password from the database:
$output = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM profile WHERE Name ='$name';" ) ); $hashedPass = $output->Password;
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘WordPress Query Removes ‘$’’ is closed to new replies.