Re: Fatal error: Call to undefined function: () in add2.php on line 11
| From: | Joe Brown | Date: | Tue, 27 Feb 2001 06:19:41 +0000 |
| Subject: | Re: Fatal error: Call to undefined function: () in add2.php on line 11 | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-6973@lists.php.net to get a copy of this message | ||
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
>