[++Rep] SQLlite code question
#2

Why are you freeing the result as you run the query? Wouldn't this mean you immediately erase all the data which the query pulls from the DB?

Or am I mis-understanding this?

Code:
db_free_result(db_query(Database, Query));
edit:

nvm, that is from the update query...

but also noticed the string is wrong in:

Code:
db_get_field_assoc(Result2, "Owner", ParameterValue, 50); // change parameterValue to parametervalue2
Reply


Messages In This Thread
[++Rep] SQLlite code question - by Hessu - 02.10.2015, 05:25
Re: [++Rep] SQLlite code question - by Mowgli - 02.10.2015, 09:11
Re: [++Rep] SQLlite code question - by Mowgli - 02.10.2015, 09:15
Re: [++Rep] SQLlite code question - by Hessu - 02.10.2015, 11:19
Re: [++Rep] SQLlite code question - by Hessu - 02.10.2015, 14:11
Re: [++Rep] SQLlite code question - by Pottus - 02.10.2015, 15:09
Re: [++Rep] SQLlite code question - by Hessu - 03.10.2015, 05:00

Forum Jump:


Users browsing this thread: 1 Guest(s)