Page 1 of 1

Cannot connect to the database

PostPosted: 07. January 2016 02:39
by ZeroHero
Hello, i'm new and trying to learn how to connect phpmyadmin databases with my phpcode written in another program. As my video is showing i'm having some difficulties connecting to the database using the code on line 8. I've tried many different variations of code, none of them works. So in my desperate attempt for solving this matter I've reached out to this forum. Hope it helps. Thanks.

**********video***************
https://youtu.be/V2sK-77Futo

https://www.youtube.com/watch?v=V2sK-77Futo&feature=youtu.be (same video)

*******************************

Re: Cannot connect to the database

PostPosted: 07. January 2016 07:47
by Altrea
Hi,

We cannot assist you reading the manual...
=> http://de2.php.net/manual/en/function.mysql-connect.php

best wishes,
Altrea

Re: Cannot connect to the database

PostPosted: 07. January 2016 12:48
by ZeroHero
Well the manual that you've linked seem promising, thanks for the aid.

Re: Cannot connect to the database

PostPosted: 07. January 2016 13:02
by Nobbie
ZeroHero wrote:Well the manual that you've linked seem promising, thanks for the aid.


This manual definately *must* get your most important documentation for learning PHP. it is your PHP BIBLE. Always look into this manual, it does not only explain how it all works, there are also tons of usefull examples and code snippets.