Index du Forum » » Le coin des codeurs

Auteur

question code
bellecuisse
186     

  Posté : 28-06-2003 14:10

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

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