0

At the command window I can get a vertical display just by adding \G to the end of the query. SELECT * FROM members WHERE member_id = '1234567'\G; I've tried replicating the same thing from php but it isn't working. Can this be done?

4

1 回答 1

1

\G是 mySQL CLI 程序中的一个功能,而不是 mysql 本身。您将不得不编写一个循环来执行此操作。

于 2012-11-14T18:15:46.847 回答