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.

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.1 32 bit - Apache 2.4.29 - PHP 7.1.11/7.0.25/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
Wampserver 3.1.1 64 bit - Apache 2.4.29 - PHP 7.1.11/7.0.25/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
PhPMyAdmin 4.7.5 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
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.