Just set up a development system here at home. Can't get mysql_connect() to work with PHP any idea what I need to do to get this to work?
Sorry in my first post I should have said PHP5 here is the error I get Fatal error: Call to undefined function mysql_connect() I am pretty sure its a PHP5 issue because the same code works flawlessly in PHP4
MySQL is just an extension, that works with pretty much any version of PHP. If you get this error, it means you don't have it installed correctly, or not at all. If you don't have access to the server to install things yourself, have a look at MySQLi - www.php.net/mysqli With some luck you have this installed at least.
Thanks for that nico.......while it didn't say I needed to do it that link lead me to figure out I need to install more packages. It turns out I needed to apt-get install php5-mysql and apt-get install php5-mysqli packages. Thanks!