Welcome Guest, Not a member yet? Register   Sign In
How to delete a table when i know half name of the table in ci
#1

i have a tables combination of two names , these two names are in different table like friend 1 and friend 2 . when i delete one name from the friend 1 or friend 2, i should delete the combination table . now i know only the half of the name of the table example : the table name is thamaraiselvam_kuppuraj when i delete kuppuraj from the friends 2 table. i should delete thamaraiselvam_kuppuraj table also. how to write query for this?

$this->dbforge->drop_table('table name');

can i use above query with some modification?
Thanks and Regards,
Thamaraiselvam T
Reply


Messages In This Thread
How to delete a table when i know half name of the table in ci - by Thamaraiselvam - 01-21-2015, 01:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB