|
Posted by Jerry Stuckle on 08/02/05 05:37
MBS wrote:
> Yeah, read the previous posts...I did that. None answer my question.
>
> I just installed PHP 5.0.4, Apache 2.0.54, and MySQL 4.1.13 a few days ago
> on WinXP SP2. My goal is to learn to use these programs.
>
> I cannot, absolutely cannot connect to MySQL using PHP. I've tried
> everything possible including the mysqli functions.
>
> I have no idea what is wrong. I don't get any error messages at all. It's
> almost as if PHP stops processing the php file in mid stream.
>
> PHP is installed properly (I followed the installation instructions to the
> letter). Simple php files process OK. MySQL is installed fine--I've
> loaded data from an Access table and have been querying it fine using the
> MySQL Query Browser. But I cannot connect to MySQL using PHP!
>
> Is there anyone out there that can help me?
>
> I am thinking that someone could create a simple DB with one table in it
> with a little bit of text in one of the fields (as a test), then write some
> PHP code that they KNOW works. Then I'll set up a DB the same and run that
> PHP code and see if it works on my system.
>
> Shouldn't take someone more than two or three minutes to do this. If they
> are willing to help...
>
> I've been working on this for about 3 hours now to no avail. I'm about
> ready to give up on this open source stuff. But I really do want to learn
> this. I just need help getting over this one little hurdle.
>
> Thanks.
>
How about showing us the code you're using?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|