Topic: How to use ""ALTER TABLE" and add a column?
Hi,
I need to add a column using alter table query. here is the query string i used. but it dooesnot work for me.
$kv_sql = "ALTER TABLE ".TB_PREF."table_name ADD ".db_escape($cust_id)." INT(10) NOT NULL" ;
db_query($kv_sql, "The employee attendance could not be added");
But t doesnot work in it.
i dont know the bug.
HRM CRM POS batch Themes