cs_Anthomicro
Messages postés9433Date d'inscriptionmardi 9 octobre 2001StatutMembreDernière intervention13 avril 20078 12 oct. 2004 à 18:02
Salut ;-)
<?php
//------------------------------------------------------------
//SI ON A UNE URL DE LA FORME : page.php?id=x
//------------------------------------------------------------
if(isset($_GET['id']) AND is_numeric($_GET['id']))
{
//ICI TON SCRIPT DE CONNEXION A LA BASE
$connexion=mysql_connect("hote","user","passe");
$requete=mysql_query("SELECT autrechamps FROM ma table WHERE id='".$_GET['id']."'");
mysql_close($connexion);