Re: Call to undefined function mysql_connect()
| From: | Cole S. Ashcraft | Date: | Thu, 01 Jul 2004 00:53:00 +0000 |
| Subject: | Re: Call to undefined function mysql_connect() | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-35066@lists.php.net to get a copy of this message | ||
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 <html> <head> <title>Forms</title> </head> <body> <?php if ($text != "") echo "You wrote \"$text\" <br><br>"; ?> <form method=POST action="form.php"> <input type="text" name="text" value="" size=10> <br> <input type="submit" name="sub" value="Send it!"> </form> <?php echo $HTTP_USER_AGENT; ?> </body> </html> 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.