alesisdrummer
Technical User
I installed Apache, PHP, and Mysql for a local PHP scripting environment. Apache works great, PHP works great. Then I added this bit of code to sort of "Test" Mysql.
<?php
echo '<p>Hello</p>';
echo mysql_connect ('localhost', 'mongoose', 'mongoose');
?>
and I put the echo tag in so that it would print the status of the mysql connection, but it just didn't print, but the Hello was parsed. It seems as if there is just no mysql activity whatsoever. Any Ideas?
<?php
echo '<p>Hello</p>';
echo mysql_connect ('localhost', 'mongoose', 'mongoose');
?>
and I put the echo tag in so that it would print the status of the mysql connection, but it just didn't print, but the Hello was parsed. It seems as if there is just no mysql activity whatsoever. Any Ideas?