invalid row index ('1') mysql
#2

That is because rows start counting from 0. If you were to have two rows, it would load the second row instead of the first. That'll give you the wrong result.

Assign your for loop value 'i' to 0 instead of 1.
PHP код:
for(new 0rowsi++) 
Reply


Messages In This Thread
invalid row index ('1') mysql - by J4Rr3x - 18.06.2015, 13:52
Re: invalid row index ('1') mysql - by AndySedeyn - 18.06.2015, 13:56
Re: invalid row index ('1') mysql - by Konstantinos - 18.06.2015, 13:56
Re: invalid row index ('1') mysql - by J4Rr3x - 18.06.2015, 14:20

Forum Jump:


Users browsing this thread: 1 Guest(s)