thanks for the reply!
i have installed [EMAIL PROTECTED] i need install more soft? odbc etc...?, i think if [EMAIL PROTECTED]
have inside the phpmyadmin i dont need more installed, this is true?
thanks
Vladimir
----- Original Message -----
From: "Mark Ackroyd" <[EMAIL PROTECTED]>
To: "'Asterisk Users Mailing List - Non-Commercial Discussion'"
<asterisk-users@lists.digium.com>
Sent: Thursday, January 19, 2006 9:27 AM
Subject: RE: [Asterisk-Users] PHPAGI
Here is a simple mysql snippet in php. Straight from the PHP manual.
http://www.php.net
$link = mysql_connect('HOST', 'UID', 'PASS') or die ("Could not connect");
mysql_select_db('DATABASE_NAME') or die ("Could not select database");
$query = "SELECT * FROM table";
$result = mysql_query($query) or die("Query failed");
while ($line = mysql_fetch_array($result))
{
var_dump($line)
}
mysql_free_result($result);
mysql_close($link);
anybody have a little example on how do that???
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
______________________________
Visita http://www.tutopia.com y comienza a navegar más rápido en Internet.
Tutopia es Internet para todos.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users