I have a problem switching from MYSQL to MYSQLi. The codes work fine with MYSQL but when i change the connection to MYSQLi, I received the error as stated above when I'm fetching my query. How can i fetch my queries using mysqli functions? Show Code:
asked Jul 20, 2015 at 3:48
0 Use Read MySQLi row_count So final answer would be
EDIT 01 use
so answer world be
answered Jul 20, 2015 at 3:55
Abdulla NilamAbdulla Nilam 32.3k16 gold badges60 silver badges80 bronze badges 2 you can use num_rows for counting rows in DB and you can direct call connection like this :-
answered Jul 20, 2015 at 5:19
SakuraSakura 931 gold badge1 silver badge10 bronze badges Not the answer you're looking for? Browse other questions tagged php mysqli count fetch or ask your own question.973 votes 2 answers Get the solution ↓↓↓I have a problem switching from MYSQL to MYSQLi. The codes work fine with MYSQL but when i change the connection to MYSQLi, I received the error as stated above when I'm fetching my query. How can i fetch my queries using mysqli functions? Code:
2022-05-13 259 votes
AnswerSolution:Use Read MySQLi row_count So final answer would be
EDIT 01 use instead of
so answer world be
Undefined answered 2022-05-13 Link to answer 732 votes AnswerSolution:you can use num_rows for counting rows in DB and you can direct call connection like this :-
Undefined answered 2022-05-13 Link to answer People are also looking for solutions
of the problem: undefined array key ShareDidn't find the answer?Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free. Similar questionsFind the answer in similar questions on our website. |