Page 1 of 1

connecting mysql database on my web page

Posted: Fri Jun 06, 2008 6:49 am
by efox
I made a database and tried to use it on my webpage but I can't connect to it. Can you give me some suggestions to access it.

Re: connecting mysql database on my web page

Posted: Fri Jun 06, 2008 8:52 am
by vargadanis
We are not mindreaders. Can you please post the code with which you were trying to access it?
In case you do not know at all how to connect to it using php:
php.net/mysql_connect

Re: connecting mysql database on my web page

Posted: Fri Jun 06, 2008 2:58 pm
by califdon
If you post your code here, please enclose the code within [syntax=php]and[/syntax] tags (or use the Code button at the top of your post entry screen), to format it properly. We really hate to try to read a bunch of unformatted code. Thanks.