Re: Fatal error: Call to undefined function: () in add2.php on line 11
| From: | Robert | Date: | Tue, 27 Feb 2001 13:19:06 +0000 |
| Subject: | Re: Fatal error: Call to undefined function: () in add2.php on line 11 | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-6978@lists.php.net to get a copy of this message | ||
I had a similar problem ( on 2000 ) until created a usr directory at the
root ( C: )and put the mibs directory in it from the php directory
----- Original Message -----
From: "Joe Brown" <joebrown@somewhere.com>
To: <php-db@lists.php.net>
Sent: Tuesday, February 27, 2001 12:19 AM
Subject: Re: [PHP-DB] Fatal error: Call to undefined function: () in
add2.php on line 11
> back to the drawing board...
>
> Re-compile php --with-mysql
>
> ""jim and lois flaherty"" <luvkatz@tds.net> wrote in message
> news:NAENKMABOFJLLDOHELFKKEIMCBAA.luvkatz@tds.net...
> > help , I have this problem
> >
> > I have redhat 7.0
> > mysql 3.23
> > and php-mysql rpm installed
> >
> > my code
> >
> > <html>
> > <head>
> > <title>Flaherty Family Page</title>
> > </head>
> > <?
> >
> > // connect to server
> >
> > $mysql_link = mysql_connect("localhost", "user","password");
> >
> > $mysql_select_db("resume");
> >
> > $query = "insert into employer(name,add1,add2,city,state)";
> > $query =
> > $query."values('$name','$add1','$add2','$city','$state')";
> >
> >
> > $mysql_result = mysql_query($query, $mysql_link);
> >
> >
> > my line 11 is mysql_connect
> >
> >
> > please let me know what I am doing wrong
> >
> > --
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-db-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>