Database name $dbname = ??
Posted by: Bugman1400 (---.carolina.res.rr.com)
Date: September 03, 2017 12:51AM

Using Dreamweaver CS6, my PHP code, in the file dbc.php, calls for a database name. What do I use for $dbname =? I've already solved one error with the username and password by changing the PHP code to accept the username of root and an empty password.

Perhaps I need to read up more on using PHP.



Edited 1 time(s). Last edit at 09/03/2017 03:49AM by Bugman1400.

Options: ReplyQuote
Re: Database name $dbname = ??
Posted by: Otomatic (Moderator)
Date: September 03, 2017 09:27AM

Hi,

> What do I use for $dbname =?
The name of the database you created.
There is no preinstalled database.

------------------------------------------------------------------------------------------------------------
(W7 Pro 64 bit)-Wampserver 3.1.0 32 bit - Apache 2.4.27 - PHP 7.1.9/7.0.23/5.6.31 - MySQL 5.7.19 - MariaDB 10.2.8
Wampserver 3.1.0 64 bit - Apache 2.4.27 - PHP 7.1.9/7.0.23/5.6.31 - MySQL 5.7.19 - MariaDB 10.2.8
PhPMyAdmin 4.7.4 - MysqlDumper 1.24.5

Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote


Sorry, only registered users may post in this forum.