Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result

后端 未结 6 840
耶瑟儿~
耶瑟儿~ 2020-11-21 05:35

I get the error when trying to run this:

query(         


        
6条回答
  •  旧巷少年郎
    2020-11-21 06:12

    Please provide the error from mysql_error(). Without that I can only guess... try escaping your field names?

    $result = $connector->query('SELECT `title`,`content` FROM `staff_vacancies` ORDER BY `ordering` LIMIT 0,100');
    

提交回复
热议问题