Re: I'm newbie in PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	If you don't have mysql support built in your PHP compilation, check
your php.ini file (you see its location in phpinfo()), go to ;Windows
Extensions part and check the line

extension=php_crack.dll

to be uncommented.

	Andy

Hassan Arteaga Rodriguez wrote:
> Hi all:
> 
> Sorry if this question become a very simple but i'm getting errors when i
> try to connect to MySQL Server.
> I setup the PHP correctly..As example I run <?php phpinfo(); ?> from one
> web
> site I have been created.
> Then testing MySQL server with this simple code
> 
> <?php
> $link = mysql_connect('myserver', 'myuser', 'mypass');
> if (!$link) {
>    die('Could not connect: ' . mysql_error());
> }
> echo 'Connected successfully';
> mysql_close($link);
> ?>
> 
> i got this error
> 
> *Fatal error*: Call to undefined function mysql_connect() in *
> D:\WEB\aplicaciones\TestPHP\testmysql.php* on line *2*
> 
> 
> Any Help please ?
> 
> best regards
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux