Ai compilat php cu mysql ?? ./configure --with-mysql
On Thu, 5 Jul 2001, Cristian wrote:
>
> Am urmatorul script php3:
> <?
> .........
> $mysql_host= "localhost"; //serverul mySql
>
> $mysql_user= "root"; // utilizatorul
>
> $mysql_pass= ""; // parola
>
> $baza = "lucru"; //baza de date
>
> $separator= "<hr width=66%>"; //o linie de separatie
>
>
>
> mysql_connect($mysql_host,$mysql_user,$mysql_pass);
>
> //MYSQL_CONNECT ($mysql_host,$mysql_user,$mysql_pass);
> .............
> ?>
>
> Cand il rulez, imi da urmatoarea eroare:
> Fatal error: Call to undefined function: mysql_connect() in
> /var/www/html/guestbook/index.php3 on line 11
> Linia numarul 11 este urmatoarea:
> mysql_connect($mysql_host,$mysql_user,$mysql_pass);
> Stiti cumva ce nu am facut bine, ce am gresit? Folosesc MySQL
> 3.23.38 iar PHP 4.0.1pl2 pe un sistem RedHat 7.0.
> Orice idee este binevenita.
> Va multumesc mult.
>
> ---
> Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
> unsubscribe from this list.
>
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
unsubscribe from this list.