Welcome Guest, Not a member yet? Register   Sign In
How to remove the first word From Mysql Table?
#6

(This post was last modified: 05-08-2021, 07:22 AM by wdeda.)

Below, assuming you are using CI 4, the query needed to perform the action:
PHP Code:
$db $this->db;
$id '1';
$query $db->table('items')
->
select('Coupon_codes')
->
where('id'$id)
->
delete(); 
Reply


Messages In This Thread
RE: How to remove the first word From Mysql Table? - by wdeda - 05-08-2021, 07:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB