Second, since SQLite databases are stored in a single file, you can check for its existence with -e $database_name. So check for the existence of 'as2cond.db' and don't even attempt the connect() if it doesn't exist.
In reply to Re: Determining if SQLite db exists
by jZed
in thread Determining if SQLite db exists
by TonyDonker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |