Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将如何做到(这只是示例)不返回错误?
$field_in = this, that $result = mysql_query("SHOW COLUMNS FROM " . $table. " WHERE Field IN ( ".$field_in." )")
$result = mysql_query( "select * from INFORMATION_SCHEMA.COLUMNS c where c.TABLE_SCHEMA = '" . $table. "' and c.COLUMN_NAME IN ( ".$field_in." )")
重新阅读了一些关于 php 基础知识的内容,以刷新一些内容并在编码时更准确,我尝试<?使用 print 函数打印字符串,但发现我找不到方法。
<?
我有点困惑,因为阅读了单引号和双引号之间的区别,我认为在单引号字符串中唯一需要特殊处理的字符是反斜杠和单引号(如 O'Reilly 文献中所示)。
当然,这<?不是任何类型的字符串,但我想知道如