Menu ▾ ▴

#3 seek, create_function

open
nobody
5
2006-06-14
2006-06-14
No

could you put a new function?
bool *sqlite3_seek* ( resource result, int rownum )
*sqlite3_seek()* seeks to the row given by the
parameter rownum.

with this we can make in PHP script, function like
mysql_result($table,$row,$field) using sqlite3_fetch_array

and if you could change
bool sqlite3_create_function (resource sqlite3, string
func_name, integer num_args, string callback_name)

to:
bool sqlite3_create_function (resource sqlite3, string
func_name, string callback_name, integer num_args =-1)

like sqlite2, where num_args=-1 make it be any number
of arguments

thank you
very good job,
please if it's ease to create sqlite3 C function on PHP
send me a example and i can help you building this library,
good bye
Roberto Spadim

sorry, i had sent this message to SUPORT REQUEST

Discussion

  • Nobody/Anonymous

    Logged In: NO

    another importante function:
    sqlite3_num_rows

    with this we can make a for
    for ($i=0;$i<sqlite3_num_rows($tmp_tbl);$i++){
    // blablabblalba
    }

     

Log in to post a comment.