Dark

Light

Dark

Light

How to update data in wordpress database table with functions.php?

How to update data in wordpress database table with functions.php?

	global $wpdb;
	$quotetable = $wpdb->prefix . "quote";	
        $where = array(
			'ID' => $id
		);	
	$wpdb->update( $quotetable,
		array(
		'useremail' => $useremail,
		'quote_no' => "123",
		'product_ids' => "1,2,3"
		), $where
	);

Post a comment

Your email address will not be published.

12 comments

  1. Santossep

    https://zithromaxproff.com/# zithromax capsules australia
    buy zithromax online fast shipping

  2. BillyBom

    cefixime generic: buy keftab
    generic minocycline

  3. MichaelDiund

    best online international pharmacies india: order medications online from india prescriptions from india

  4. MichaelDiund

    united pharmacy india: india pharmacies online best online international pharmacies india

  5. Robertcooto

    levitra pills: https://edpillsonline24.com/# viagra pills

  6. Robertcooto

    cialis pills online: https://edpillsonline24.com/# viagra pills

  7. Michaelgox

    viagra cost: viagra prescription viagra prescription

  8. Michaelgox

    viagra coupon: viagra without prescription viagra without prescription

  9. Claudaluck

    where can i buy clomiphene: clomid for sale – generic for clomid

  10. Claudaluck

    diflucan 150 mg prescription: online rx diflucan – diflucan 400mg without prescription

  11. Claudaluck

    doxycycline without prescription: doxycycline antibiotic – buy generic doxycycline

  12. Claudaluck

    buying diflucan over the counter: diflucan 150 price – how much is diflucan over the counter

test