sfx Posted May 29, 2005 Report Share Posted May 29, 2005 ir DB ieraksti: ID>PIC_file>... ------------------ 05>param.jpg 06>taram.jpg 09>bilde.jpg 11>bilde.jpg 13>ildez.jpg man ir atveerta piemeeram bilde ar ID=5, bet bet kaa vislaabaak taisiit .next. nu tipa naakoshaa bilde? Link to comment Share on other sites More sharing options...
Kavacky Posted May 29, 2005 Report Share Posted May 29, 2005 Atrodi nākamo lielāko ID un liec adresi uz to. Link to comment Share on other sites More sharing options...
sfx Posted May 29, 2005 Author Report Share Posted May 29, 2005 Hmmm, kaaa? :unsure: Link to comment Share on other sites More sharing options...
hu_ha Posted May 29, 2005 Report Share Posted May 29, 2005 Hmmm, kaaa? :unsure: 18164[/snapback] select id from table where id>$tagadeejais_id order by id asc //te vai asc vai desc vajag izdomaat (besis) limit 1 Link to comment Share on other sites More sharing options...
sfx Posted May 29, 2005 Author Report Share Posted May 29, 2005 OK, paldies :)! Link to comment Share on other sites More sharing options...
Recommended Posts