website logo
Auteur
avatar
bellecuisse

Forum » » Le coin des codeurs » » question code


Posté : 28-06-2003 14:10 icone du post

voici le code extrait de links.php

$result=mysql_query("select cid, title from links_categories order by title");
echo translate("Category: ")."<select CLASS=\"TEXTBOX_STANDARD\" name=cat>";
while(list($cid, $title) = mysql_fetch_row($result)) {
echo "<option value=$cid>$title</option>";
$result2=mysql_query("select sid, title from links_subcategories where cid='$cid' order by title");
while(list($sid, $stitle) = mysql_fetch_row($result2)) {
echo "<option value=$cid-$sid>$title / $stitle</option>";

questions:

1---->je ne trouve pas la definition de $title / $stitle</option>";
2----->option value=$cid-$sid>$title / $stitle</option>";
que represente $cid-$sid !!

si vous avez des infos je ne trouve pas de truc de bien sur le netr
je vous remercie
et bonne apreme

Cet article provient de NPDS REvolution 16
https://lab.grottes-et-karsts-de-chine.org/viewtopic.php?topic=6338&forum=5