PHP and MYSQL

Jason Crowe jcrowe at cmuonline.net
Wed Jan 22 15:59:39 CST 2003


You have to have mysql support compiled into php.

Advancewarning wrote:
> What is the trick to getting PHP to connect to MYSQL?
>  
> It blows up at this line:
> $connection = mysql_connect("$server","$username","$password");
>  
> Giving me this:
> Fatal error: Call to undefined function: mysql_connect() in
> /web/test.php on line 15
>  
>  
> Thanks 
>  
> Michael Pratt
> Pratt's Computers
> http://pratt.is-a-geek.com
> MCSE, CNA
>  
> 




More information about the Kclug mailing list