Hi,
Was wondering how I might go about getting a value from a variable (eg. $to_address) into a query???
Something like
Does that make any sense?PHP Code:function contact_cycle() {
$update_cycle =" update contacts set cycle=cycle+1 where $to_address = contacts.email1;
$result = $db->query($update_cycle);
}


Reply With Quote
Bookmarks