Access database by SQL quiries
-
Hi,
I was wondering if there is a way to retrieve the timestamps on the latest entry by receiver email and subject line. I’m trying show it on the front end where the timestamp would show as the button text after the email is sent. Make sense?
Basically I’ve using the usually way of retrieving specific variables by SQL SELECT function and it didn’t work on this.
$lastemailed = $wpdb->get_var($wpdb->prepare(“SELECT timestamp FROM $wpdb->wpml_mails WHERE receiver=%s AND subject=%s”, $useremail, $list_subj));The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Access database by SQL quiries’ is closed to new replies.