bonjour,
supposons une requete :
$req=mysql_query("
SELECT champ_a, (SELECT champ_c FROM table_b where champ_b=10)
FROM table_a
LEFT JOIN table_b ON table_a.champ_a=table_b.champ
");
$res=mysql_fetch_assoc($req);
$res["champ_c"] me ressort bien une valeur, cependant lorsqu'il y a plusieurs valeur $res["champ_c"], je voudrais que cela me concatène toutes les valeurs $res["champ_c"] (ex : echo $res["champ_c"] m'afficherait : bonjour test soleil ...)
merci
supposons une requete :
$req=mysql_query("
SELECT champ_a, (SELECT champ_c FROM table_b where champ_b=10)
FROM table_a
LEFT JOIN table_b ON table_a.champ_a=table_b.champ
");
$res=mysql_fetch_assoc($req);
$res["champ_c"] me ressort bien une valeur, cependant lorsqu'il y a plusieurs valeur $res["champ_c"], je voudrais que cela me concatène toutes les valeurs $res["champ_c"] (ex : echo $res["champ_c"] m'afficherait : bonjour test soleil ...)
merci
