Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function my_custom_action(){
- $myinput = $_POST['address'];
- global $wpdb;
- $table_name = 'wp44_predefined_address';
- $result = $wpdb->get_row("SELECT * FROM wp44_predefined_address WHERE 'UPPER(Address1)' LIKE 'UPPER(%s)'", $myinput);
- print_r ($result);
- die();
- }
Add Comment
Please, Sign In to add comment