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.4 32 bit - Apache 2.4.35 - PHP 7.2.11/7.1.23/7.0.32/5.6.38 - MySQL 5.7.23 - MariaDB 10.3.10
Wampserver 3.1.4 64 bit - Apache 2.4.35 - PHP 7.2.11/7.1.23/7.0.32/5.6.38 - MySQL 5.7.23 - MariaDB 10.3.10
PhPMyadmin 4.8.3 - 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.