Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:\program files\easyphp\www\cuisine\_detail_stages_jour.php on line 31
date de début :
Notice: Undefined variable: datedeb in c:\program files\easyphp\www\cuisine\_detail_stages_jour.php on line 42
Notice: Undefined offset: 1 in c:\program files\easyphp\www\cuisine\fonctions.php on line 12
Notice: Undefined offset: 2 in c:\program files\easyphp\www\cuisine\fonctions.php on line 12
Warning: getdate(): Cannot perform date calculation in c:\program files\easyphp\www\cuisine\fonctions.php on line 12
Notice: Undefined offset: 2 in c:\program files\easyphp\www\cuisine\fonctions.php on line 14
Notice: Undefined offset: 1 in c:\program files\easyphp\www\cuisine\fonctions.php on line 14
Notice: Undefined offset: -1 in c:\program files\easyphp\www\cuisine\fonctions.php on line 14
date de fin :
description du stage :
Code : Tout sélectionner
<?
$idstages = $_GET["idstagesjour"] ;
$sql = "SELECT * FROM 'stage_jour' WHERE ref = ".$idstages ;
$requete = mysql_query( $sql ) ;
if( $result = mysql_fetch_array( $requete ) )
$datedeb = dateUsToFr($result['dateDebut']);
{
?>
<tr>
<td colspan="5"> </td>
</tr>
<tr class="listeTitre">
<td colspan="5" align="center"><? echo $result['_SJ_titre'];?></td>
</tr>
<tr class="listeTitre">
<td>date de début : <? echo MySQLDateToExplicitDate ($datedeb); ?></td>
<td colspan="4">date de fin : <? echo $result['_SJ_heure']; ?></td>
</tr>
<tr class="listeTitre">
<td colspan="5">déscription du stage : </td>
</tr>
<tr class="listeTitre">
<td colspan="5"><? echo nl2br($result['_SJ_description']); ?></td>
</tr>
<tr class="textform2">
<td>Prix du Stage <? echo $result['_SJ_prix']; ?> €</td>
<td colspan="4"><a href='javascript:popup_top("img/pdf/<? echo $result['_SJ_inscriptionPdf']; ?>",750,850,"menubar=no,scrollbars=auto,statusbar=no")'>inscription</a>
<?
}
mysql_close();
?>
MON ERREUR SE SITUAIT JUSTE APRES LE "WHERE" CE N'ETAIS PAS REF MAIS [/b]_SJ_REF[/b] ](*,)
