主题:[讨论]这两句到底哪一句是对的?
jh += (km == "") ? "" : " and kanming =" + km;
我要为后面的那个km加一对'' 怎么加呢?
jh += (km == "") ? "" : " and kanming =" + "\'km\'";
jh += (km == "") ? "" : " and kanming = '" + km + "'";
我要为后面的那个km加一对'' 怎么加呢?
jh += (km == "") ? "" : " and kanming =" + "\'km\'";
jh += (km == "") ? "" : " and kanming = '" + km + "'";