logo

eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 909
sqlite sql_fetch_row

sql_fetch_row.php

$sql = sqlite_current($data);
needs to be:
$sql = sqlite_fetch_array($data,SQLITE_NUM);

Beacuse:
sqlite_current() is identical to sqlite_fetch_array() except that it does not advance to the next row prior to returning the data; it returns the data from the current position only.
whereas:
mysql_fetch_row() Returns a numerical array that corresponds to the fetched row and moves the internal data pointer ahead.

(this was the hidden db fault I eluded to on 110mb, and I was not even sure if you were using it, otherwise it would have showed up already)

eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1528
Re: sqlite sql_fetch_row

Well I dont use sql_fetch_row at all in eoCMS, i only added it incase other people needed it.

Ok i will fix it for the SVN when i get a chance, i got so much homework to do Sad

Also did you get my PM on 110mb.com?

Please do not PM me requesting support or anything, use the forums, thats what they are here for
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 909
Re: sqlite sql_fetch_row

just now..

.. make sure you do all your homework, it is not worth cutting cor ners.. lead to programmers who cut cor ners Smile
..or worse unemployed programmers who cut cor ners..
:-)

eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1528
Re: sqlite sql_fetch_row

Updated SVN, considered this fixed!

Please do not PM me requesting support or anything, use the forums, thats what they are here for

Jump to:


0.04 seconds Queries: 14