php3-list | 199807
Date: 07/16/98
- Next message: V.K. Stoessel: "[PHP3] Problems with LIKE in Mysql"
- Previous message: Lars Göransson: "[PHP3] fatal errror."
- In reply to: Lars Göransson: "[PHP3] fatal errror."
- Next in thread: V.K. Stoessel: "Re: [PHP3] fatal errror."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Lars Göransson wrote:
>
> Is there anyone that got a workin script to connect to mysql server. I
> cant figure out what im doing wrong.
>
> Right noe im using this script
>
> ----------
>
> <?php
>
> $mysql_connec($host:3306$user,$secret );
> $result = mysql("demo2","SELECT Namn, Efternamn from Adressregister");
> echo "<TABLE BORDER = 10 CELLPADDING = 2>";
> $total_rows = mysql_numrows($result); $counter = 0;
> echo "<TR><TD><B>Efternamn/B></TD><TD><B>Namn</B></TD></TR>";
> while($counter < $total_rows);
>
> ?>
>
> When im using this, the result is:
>
> Fatal error: Call to unsupported or undefined function () in
> /www/test/lars/sql_10.phtml on line 3
why not $c=mysql_connect(..)
with a T. And the use $c connection when wuarying.
barry
>
> Regards
> Lars
>
> --
> PHP 3 Mailing List http://www.php.net/
> To unsubscribe send an empty message to php3-unsubscribe <email protected>
> To subscribe to the digest list: php3-digest-subscribe <email protected>
> For help: php3-help <email protected> Archive: http://www.tryc.on.ca/php3.html
-- +++++++++++++++++++++++++++++++++++++++++ + Barry Voeten barry <email protected> + + Netland Internet Services Amsterdam + + Web Engineering Design Hosting + + www.netland.nl + 31 (0) 20 6943664 +
- application/x-pkcs7-signature attachment: S/MIME Cryptographic Signature
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.tryc.on.ca/php3.html
- Next message: V.K. Stoessel: "[PHP3] Problems with LIKE in Mysql"
- Previous message: Lars Göransson: "[PHP3] fatal errror."
- In reply to: Lars Göransson: "[PHP3] fatal errror."
- Next in thread: V.K. Stoessel: "Re: [PHP3] fatal errror."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

