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

frudas24
Member
Registered: 18-Apr-2018
Posts: 19

How to Pass Global Var to sqlite

Hi,
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)

Offline

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

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

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.

Offline

Board footer

Powered by FluxBB