connecting mysql database on my web page

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
efox
Forum Newbie
Posts: 1
Joined: Fri Jun 06, 2008 6:40 am

connecting mysql database on my web page

Post 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.
User avatar
vargadanis
Forum Contributor
Posts: 158
Joined: Sun Jun 01, 2008 3:48 am
Contact:

Re: connecting mysql database on my web page

Post 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
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: connecting mysql database on my web page

Post 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.
Post Reply