Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- Noob questions about PHP and MySQL


Protospleen - 3:03 pm on Apr 27, 2009 (gmt 0)


Hi All,

I've only just started with PHP and MySQL, and I have set up a localhost apache server.

I have a few questions about how best to go about bulding and testing a website that will interface with a database.

At present, I am using PHP scripting, to get(and put) data to a database that I have defined on localhost using phpmyadmin. What happens when I want to "upload" my website?

Do I need to change all the php code to now reference the host's server location?

How do I upload my table? (or must I dynamically create the table on the first load of the site?)

What is the 'best practise' method for building and testing php/mysql websites?

Thanks. :)


Thread source:: http://www.webmasterworld.com/php/3901560.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com