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.
我正在尝试执行一个返回太多值的查询,但是,我不想像显示的那样手动指定它。
oci_execute($searchSQL) or die ("Unable to execute query as there are too many values\n");
但是,它返回的值并不总是这种情况。如何打印出实际问题?提前谢谢了!
oci_execute($searchSQL) or die (oci_error());
....但是使用 die 来报告错误情况不是很整洁。