This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:web_development:databases:php [2021/12/25 14:49] mag |
en:web_development:databases:php [2023/08/16 09:33] (current) |
||
---|---|---|---|
Line 35: | Line 35: | ||
* Copy the following code at the top of the first PHP block. | * Copy the following code at the top of the first PHP block. | ||
< | < | ||
- | define (' | + | define (' |
include_once DBCONNECT; | include_once DBCONNECT; | ||
- | $db = 'webdev'; | + | $db = 'techschoolwebdev'; |
$dsn = " | $dsn = " | ||
try | try |