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.
通常所有准备好的 SQL 语句都可以正常工作——除了一个。我发现问题出在反斜杠上。如果我删除表数据和语句中的反斜杠,它工作正常。我能做些什么?
$stmt = odbc_prepare($conn, 'SELECT id FROM user WHERE login =?'); $success = odbc_execute($stmt, array('domain\userid'));
谢谢大家!