Jump to content

problem mit der funktion desc


Recommended Posts

include_once($pdir_mod."/galerie/pimg_main.php");

$sqlbefehl = "Select id,pfad,name,groupid FROM $tab_picat Where groupid = 0 Order By id DESC";
$getcat = mysql_query( $sqlbefehl, $serverid );


   while ( $cat = mysql_fetch_array ( $getcat ) ) 
   { 
       $sc[$cat['id']] = $cat['name'];
       $sl[$cat['id']] = $cat['id'];
   }

$smarty_img->assign('scat',$sc);

 

er führt soweit alles richtig aus problem ist das er die order funktion scheinbar vollständig ignoriert ich kann da reinschreiben was ich will er sortiert immer noch id vorwärts


hoffe ihr könnt helfen


lg

Link to post
Share on other sites
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...