mardi 31 mars 2015

SELECT FOUND_ROWS() not working with PDO PHP?


Vote count:

0




I changed my code to finally using PDO instead of mysql_..


I changed the code of one of my query which is like



SELECT SQL_CALC_FOUND_ROWS * ....etc


but now my code



SELECT FOUND_ROWS()


and the array



echo $array[0]['FOUND_ROWS()']


return value = 0;


there is anything I should know about PDO and this type of queries?



asked 25 secs ago

Francesco

5,282






SELECT FOUND_ROWS() not working with PDO PHP?

Aucun commentaire:

Enregistrer un commentaire