Automatisation des news cinema

radyonne Messages postés 44 Date d'inscription lundi 29 mars 2004 Statut Membre Dernière intervention 9 août 2005 - 25 avril 2004 à 18:26
radyonne Messages postés 44 Date d'inscription lundi 29 mars 2004 Statut Membre Dernière intervention 9 août 2005 - 25 avril 2004 à 21:48
Bonjour,

Je voudrais mettre des infos cinema sur mon site radio mais automatiquement par rapport a commeaucinema.com si possible !

Comment faire svp ???

merci d'avance !!!
D@mien 2 Rady' On Fm !!! :approve)

2 réponses

cs_Gamer13 Messages postés 15 Date d'inscription lundi 26 mai 2003 Statut Membre Dernière intervention 25 avril 2004
25 avril 2004 à 21:40
Bonjour,
voila je ne sais pas pourquoi mais il n'y a rien qui s'affiche !
merci de me dire ce qui cloche dans mon code:

<? $log = $_SESSION['login'];
require ("warning/config.inc.php");
$db = mysql_connect("$mysql_localhost","$mysql_user","$mysql_pass") or die('Erreur SQL !
'.$sql3.'
'.mysql_error());
mysql_select_db($mysql_db,$db) or die('Erreur SQL !
'.$sql3.'
'.mysql_error());
$sql3 = "select * from bio_commentaire_news where id='$id_comment_news' Order by id";
$req3 = mysql_query($sql3) or die('Erreur SQL !
'.$sql3.'
'.mysql_error());
while ($cfg3 = mysql_fetch_array($req3));
{
$sql4 = "select * from bio_membre where pseudo='$cfg3[pseudo]'";
$req4 = mysql_query($sql4) or die('Erreur SQL !
'.$sql4.'
'.mysql_error());
$cfg4 = mysql_fetch_array($req4);
if($log == ''.$cfg3[pseudo].'')
{
echo '<!--DWLayoutTable-->
----

<table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
----, <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<!--DWLayoutTable-->
----

[index2.php?rub=sup_comment_news&id='.$cfg3[id].'&pseudo='.$cfg3[pseudo].' ]

[index2.php?rub=mod_comment_news&id='.$cfg3[id].'&pseudo='.$cfg3[pseudo].' ]
</td>
<td></td>
</tr>
<tr>
<td height="109"> </td>
<td></td>
</tr>
<tr>
<td height="20" colspan="3" valign="top"><hr noshade></td>
</tr>
</table>
';
}
else{
echo' <center>Les Commentaires des news</center>

<!--DWLayoutTable-->
----

<table width ="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
----, <table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<!--DWLayoutTable-->
----

</td>
<td width="62"> </td>
</tr>
<tr>
<td height="66" colspan="2" valign="top">Par : '.$cfg3[pseudo].'

Posté le : '.$cfg3[date].'

A : '.$cfg3[heure].'



</td>
</tr>
</table></td>
<td height="19" valign="top">'.$cfg3[texte].'</td>
</tr>
<tr>
<td width="269" height="145"></td>
</tr>
<tr>
<td height="20" colspan="2" valign="top"><hr noshade></td>
</tr>
</table>';
}
}
?>
0
radyonne Messages postés 44 Date d'inscription lundi 29 mars 2004 Statut Membre Dernière intervention 9 août 2005
25 avril 2004 à 21:48
pkoi tu met ca la ???

c a voir avec les news cinema ???
D@mien 2 Rady' On Fm !!!
0
Rejoignez-nous