You are here: Re: xampp 1.6.5 - are some features in PHP 5 deprecated? « PHP Language « IT news, forums, messages
Re: xampp 1.6.5 - are some features in PHP 5 deprecated?

Posted by Steve on 09/28/46 12:01

It basically comes down to the fact that MySQL support is not activated
in to the PHP5 installation by default any more...For information about
enabling it:

http://www.phpfreaks.com/forums/index.php/topic,95378.0.html

Peace.

On Thu, 24 Jan 2008 20:35:11 -0800, Kevin R wrote:

> I have this error:
> Fatal error: Call to undefined function mysql_connect() in ...file name
>
> Why would this create an error on this code? $link =
> mysql_connect("localhost", "root", "") or die(mysql_error());
>
> I am working locally so the root, and username should be correct.
>
> any ideas what gives?
>
> Kevin

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация