Приглашаем посетить
Хемницер (hemnitser.lit-info.ru)

Before We Begin

Previous
Table of Contents
Next

Before We Begin

As we mentioned in the previous chapter, you will need to tell the server which database you wish to work with after you have successfully connected to the database server with a client program (or from within PHP script). This is done with the USE statement in SQL:

USE DatabaseName;

If you forget this, you might receive errors such as the following from MySQL:

ERROR 1046 (3D000): No database selected


Previous
Table of Contents
Next