I have a php line with
$cmd='mysql -h localhost db -e"create table if not exists
levermanneasypivotlocal (RecNum bigint(20) NOT NULL AUTO_INCREMENT,
tradedate date, `0001.HK` int(9), `0012.HK` int(9) default NULL, PRIMARY
KEY(`recnum`) ) AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;"';
exec($cmd);
How can I escape the column names ? On a shell and in PHP Script the ` has spezial meanings. I need this for solve this problem: NO ALTER or Create of remote db in a federated engine Thanks a lot.