$ stmt-> get_result()在PHP 5.6中不起作用

时间:2015-07-29 13:28:55

标签: php mysql

我收到此错误:SELECT t.* FROM (SELECT m.MaterialId, m.MaterialName, m.MaterialTitle, se.EventDateTime, ROW_NUMBER() over (PARTITION BY m.MaterialId OVER se.EventDateTime DESC) as seqnum FROM GB_Material m INNER JOIN SP_ScheduleEvent se on se.MaterialName = m.MaterialName INNER JOIN SP_Schedule s on s.ScheduleID = se.ScheduleID INNER JOIN GB_Channel c on c.ChannelID = s.ChannelID WHERE se.EventDateTime > getdate() AND (LOWER(m.MaterialName) like '%foo%' OR LOWER(m.MaterialTitle) like '%foo%') ) t WHERE seqnum = 1 ORDER BY se.EventDateTime;

我读过它使用的是PHP {5.4}中自动支持的Fatal error: Call to undefined method mysqli_stmt::get_result()驱动程序,我在5.6上。这是我的设置。

enter image description here

导致这种情况的原因是什么?

0 个答案:

没有答案