mardi 29 septembre 2015

How can we use Database name in SQLite Query, when database file is located in different location?

Application directory - /var/www/ database file location - /home/user/sqlite/db_name Using PDO for connection

SQL queries are executed successfully if database name is not used. Otherwise it throws error table not found due to different location and we cannot use the path in SQL queries.

How can we handle this if database name need to specify.

Aucun commentaire:

Enregistrer un commentaire