[Asterisk-Users] PHPAGI

Vladimir Montealegre v_estailes at tutopia.com
Thu Jan 19 07:34:20 MST 2006


thanks for the reply!

i have installed a at h i need install more soft? odbc etc...?, i think if a at h 
have inside the phpmyadmin i dont need more installed, this is true?

thanks

Vladimir
----- Original Message ----- 
From: "Mark Ackroyd" <mark.ackroyd at cencion.com>
To: "'Asterisk Users Mailing List - Non-Commercial Discussion'" 
<asterisk-users at 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.



More information about the asterisk-users mailing list