Index du Forum » » Le coin des codeurs

Auteur

Recherche SQL avec select
Fix
624      
 

  Posté : 31-12-2004 20:33

Je comprends pas mon erreur :

ma table :

table test
id | link |
1 | lk01 |
2 | lk02 |
3 | lk03 |


$sid=1;
$sql = "SELECT link FROM tabletest where id= '$sid'";
$result = mysql_query($sql);
$row = mysql_fetch_row($result);
echo "$row[0]";




Ce code ne marche pas et je sèche



Cet article provient de NPDS

http://www.npds.org/viewtopic.php?topic=14913&forum=5