Scolring - Forum

Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology

Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered

You are not logged in.

#1 7-Aug-2018 23:17:49

From: Colombia
Registered: 18-Apr-2018
Posts: 23

How to Pass Global Var to sqlite

I have a Global var that increment every time it found a qr and a database that have
this schema:
CREATE TABLE "videos" ( `id` INTEGER, `url` TEXT )
i want to pass the global var to the sqlite query ( select url from videos where id=$my_global_var wink 
any clue, Thanks

pd:sqlite work in android and ios ?

Last edited by frudas24 (8-Aug-2018 01:01:15)


#2 8-Aug-2018 11:21:53

Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 4,331

Re: How to Pass Global Var to sqlite

Hello, for global var use %myvar% in the string.
Yes it's working  on android and it should also work on iOS.


Board footer

Powered by FluxBB