Bonjour,
j'ai essayé de faire une jointure entre 3 tableaux
$requete="select * from type_matiere_premiere,matiere_premiere where type_matiere_premiere.code_mat_pre=matiere_premiere.code_mat_pre as matiere_type_matiere";
$result=mysql_query($requete)OR die(mysql_error());
$requete2="select * from matiere_type_matiere,entree_stock where entree_stock.code_mat_pre=matiere_type_matiere.code_mat_pre";
$result2=mysql_query($requete2)OR die(mysql_error());
et voici l'erreur qui est survenu
Something is wrong in your syntax près de 'as matiere_type_matiere' à la ligne 1
avez vous une idée comment dois je procéder??? merci
Configuration: Windows XP
Firefox 3.0.8