Programas

[insert_php]
$host_name = ‘db711972168.db.1and1.com’;
$database = ‘db711972168’;
$user_name = ‘dbo711972168’;
$password = ‘Eirene@1010’;
$connect = mysqli_connect($host_name, $user_name, $password, $database);
mysqli_set_charset($connect,»utf8″);
/*
if (mysqli_connect_errno()) {
die(‘

Failed to connect to MySQL: ‘.mysqli_connect_error().’

‘);
} else {
echo ‘

Connection to MySQL server successfully established.</p >’;
}
*/

$sql=»SELECT programa, titulo, url FROM audios»;
$result=mysqli_query($connect,$sql);
// Fetch one and one row
[/insert_php]

 

[insert_php]
//$num = 1;
//while ($row=mysqli_fetch_row($result)){
// printf («%s (%s)\n»,$row[0],$row[1],$row[3]);
//echo «»;
//$num++;
//}
/* BACKUP TABELA SEM COLOCAR O NOME DO PROGRAMA POR EXTENSO;
while ($row=mysqli_fetch_row($result)){
// printf («%s (%s)\n»,$row[0],$row[1],$row[3]);
echo «»;
}
*/
[/insert_php][insert_php]$num = 1;while ($row=mysqli_fetch_row($result)){echo »;
$num++;
}
[/insert_php]

Fecha Programa Tema Arquivo
‘.$row[2].’ La Hora de la Reforma ‘. $row[1] .’

[insert_php]
// Free result set
mysqli_free_result($result);
mysqli_close($connect);
[/insert_php]