Re: [PHP-DB] Call to undefined function mysql_connect()

2004-08-01 Thread Lester Caine
Phpdiscuss - Php Newsgroups And Mailing Lists wrote:
I agree to you as my phpinfo does not show mysql at all. can you help me
as in how do i get the mysql support for the same, im using PHP/MYSQL on
windows 2000
By default on PHP5, MySQL is not now built in ( since more and more of 
us are no longer using it ;) ).

First thing to do is enable the php_mysql.dll line in the Extensions 
section of the php.ini file ( working copy should be in c:\WINNT )

Second thing - which I can't help with - is MySQL itself installed on 
the machine :)

Third thing - have a look at some of the alternatives ;)
--
Lester Caine
-
L.S.Caine Electronic Services
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP-DB] Call to undefined function mysql_connect()

2004-08-01 Thread PHPDiscuss - PHP Newsgroups and mailing lists
I agree to you as my phpinfo does not show mysql at all. can you help me
as in how do i get the mysql support for the same, im using PHP/MYSQL on
windows 2000

Thanks


Larry E . Ullman wrote:

> > But i received "Call to undefined function mysql_connect() on line 5"
> >
> > Can anyone help me?

> Your PHP installation apparently does not support MySQL. You can 
> confirm this by running a phpinfo() script. You may need to 
> reinstall/recompile PHP.

> Larry

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



Re: [PHP-DB] Call to undefined function mysql_connect()

2004-06-30 Thread Cole S. Ashcraft
Rinku's Response: I may be missing something, but hows that related?
The phpinfo() function generates a page that shows what is installed. 
See if the configure string has --with-mysql or something like it. There 
also should be a section called mysql. Take a look at 
http://ashcraftfamily.net/info.php.

Leandro de Oliveira wrote:
I don´t know how to see if mysq is enabled
but i tested this, it is like i have no php
file: form.php


Forms


";
?>








submit dont works, echo $HTTP_USER_AGENT too, but phpinfo() worked!
what is going on?

-
Crie seu Yahoo! Mail, agora com 100MB de espaço, anti-spam e antivírus grátis!
 


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is believed to be clean.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP-DB] Call to undefined function mysql_connect()

2004-06-29 Thread Rinku
if ($text != "") You had used this.
 
Pls use this so that you can access the value for the variable
if($_POST['text']!="")
 
I hope this will help you.

Leandro de Oliveira <[EMAIL PROTECTED]> wrote:

I don´t know how to see if mysq is enabled

but i tested this, it is like i have no php

file: form.php








if ($text != "")
echo "You wrote \"$text\" 

";
?>


 [input] 


 [input] 


echo $HTTP_USER_AGENT;
?>




submit dont works, echo $HTTP_USER_AGENT too, but phpinfo() worked!

what is going on?




-
Crie seu Yahoo! Mail, agora com 100MB de espaço, anti-spam e antivírus grátis!

-
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!

Re: [PHP-DB] Call to undefined function mysql_connect()

2004-06-29 Thread Leandro de Oliveira

I don´t know how to see if mysq is enabled

but i tested this, it is like i have no php

file: form.php



Forms




";
?>












submit dont works, echo $HTTP_USER_AGENT too, but phpinfo() worked!

what is going on?




-
Crie seu Yahoo! Mail, agora com 100MB de espaço, anti-spam e antivírus grátis!

Re: [PHP-DB] Call to undefined function mysql_connect()

2004-06-28 Thread Rinku
And If you need any documentation for Apache, PHP,
Mysql and PhpMyAdmin Installation on WinXP or for
WinNt then pls do write me I'll send it to you.

Rinku
--- "Larry E. Ullman" <[EMAIL PROTECTED]>
wrote:
> > But i received "Call to undefined function
> mysql_connect() on line 5"
> >
> > Can anyone help me?
> 
> Your PHP installation apparently does not support
> MySQL. You can 
> confirm this by running a phpinfo() script. You may
> need to 
> reinstall/recompile PHP.
> 
> Larry
> 
> -- 
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 




__
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail 

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



Re: [PHP-DB] Call to undefined function mysql_connect()

2004-06-27 Thread Cole S. Ashcraft
Create a page called phpinfo.php. In it put . Search 
for MySQL. You probably don't have MySQL support in your installation.

Cole
Leandro de Oliveira wrote:
Hi!
I want test MySQL with PHP, for that I wrote this:

Test MySQL

 0)
echo "Success!!";
else {
echo "Failure!!";
echo mysql_error();
}
?>


But i received "Call to undefined function mysql_connect() on line 5"
Can anyone help me?
Thanks!

-
Crie seu Yahoo! Mail, agora com 100MB de espaço, anti-spam e antivírus grátis!
 


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is believed to be clean.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP-DB] Call to undefined function mysql_connect()

2004-06-27 Thread Larry E . Ullman
But i received "Call to undefined function mysql_connect() on line 5"
Can anyone help me?
Your PHP installation apparently does not support MySQL. You can 
confirm this by running a phpinfo() script. You may need to 
reinstall/recompile PHP.

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