Re: Re: show info from mysql db
| From: | Jim Lucas | Date: | Mon, 11 Jun 2012 15:04:38 +0000 |
| Subject: | Re: Re: show info from mysql db | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-318214@lists.php.net to get a copy of this message | ||
On 06/10/2012 09:50 AM, Tim Dunphy wrote:
FYI: When developing, make sure to have "error_reporting = E_ALL" and "display_errors = On" or be sure to tail your error_log file.You had been keeping the password secret, but it looks like you accidentally leaked it, so a replacement might be in order :)oh wow.. gotta hate when you do that!!! on it!Glad you got it fixed. Typos can be little buggers to find sometimes.me too.. fell back to the old 'echo hello' test strategy .. have to try to remember that strategy before i go running for help.. :)
tim On Sun, Jun 10, 2012 at 12:15 PM, Adam Richardson<simpleshot@gmail.com> wrote:-- Jim Lucas http://www.cmsws.com/ http://www.cmsws.com/examples/ http://www.bendsource.com/On Sun, Jun 10, 2012 at 8:25 AM, Tim Dunphy<bluethundr@gmail.com> wrote:$dbc = mysqli_connect('127.0.0.1','admin',secret','trek_db')You had been keeping the password secret, but it looks like you accidentally leaked it, so a replacement might be in order :) Glad you got it fixed. Typos can be little buggers to find sometimes. Adam -- Nephtali: A simple, flexible, fast, and security-focused PHP framework http://nephtaliproject.comor die ('Could not connect to database');used to be... $dbc = mysqli_conect('127.0.0.1','admin','Duk30fZh0u','trek_db')or die ('Could not connect to database');