
June 8th, 2001, 04:07 PM
|
|
Junior Member
|
|
Join Date: Jun 2001
Location: San Diego, CA
Posts: 18
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
A really good tool for developing PHP and MySQL on a windows box before uploading to your server is PHPTriad, available at download.com. This package contains MySQL, PHP, PHPMYADMIN, and Apache web server. THAT isn't what makes this package great. What is great about this is that it includes an installer that automatically installs and configures these programs onto your computer.
It installs in under 5 minutes and is ready to go. I only had to make one configuration change to get it to work. (When you connect to your local SQL database, be sure to change to the default logon name and password, normally:
<?
// Create connection
$connection = mysql_connect("localhost","","") or die ("E1 - Couldn't connect to server. ");
// Select database
$db = mysql_select_db("djsd_com", $connection) or die ("E2 - Couldn't select database.");
?>
Good luck and have fun.
Regards,
Lenny
|