Interacting with mysql db

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
php_new_guy_09
Forum Newbie
Posts: 12
Joined: Fri Sep 04, 2009 3:21 pm

Interacting with mysql db

Post by php_new_guy_09 »

Hi everyone,

Sorry for what is probably a really stupid question, but I’m completely new to PHP.

I was wondering would I have to save my PHP/MySQL code in a specific location in order for the code to interact with a MySQL db for a website.

Thanks in advance.
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Interacting with mysql db

Post by jackpf »

If you don't allow public access to your MySQL server, then yeah, you need to store it on your own server.

Otherwise no, it makes no difference.
php_new_guy_09
Forum Newbie
Posts: 12
Joined: Fri Sep 04, 2009 3:21 pm

Re: Interacting with mysql db

Post by php_new_guy_09 »

jackpf wrote:If you don't allow public access to your MySQL server, then yeah, you need to store it on your own server.

Otherwise no, it makes no difference.
Thanks alot. Your a star..
Post Reply