![]() |
Selecting Database for Queries
How do you select a database for queries with SQLite? I'm used to PHP and connecting with the declared db name, user, and pass. :/
I've searched and searched on here but can't seem to find it. I've tried ("USE dbname") and ("USE DATABASE dbname") as a query in with my select query and before instead, no go just get this error: NPC Code:SQL Error: near "USE": syntax error If i just use the default db with the table, my query works fine so I know it's not that. |
Use requestsql2:
Quote:
|
Yeah I just realized that. I'm completely stupid. was using requestsql instead...
thank you still. |
| All times are GMT +2. The time now is 01:54 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.