ecoc Posted March 16, 2007 Report Share Posted March 16, 2007 (edited) Man vajadzetu kodu piemeram kad pariet uz citu lapu tad tas ciparins 2 lpp iekrasojas kura tu esi nu piemers : 1>[2]>3 Nu un es esu 2 lapa tagad tadu vajadzetu ! Edited March 16, 2007 by ecoc Link to comment Share on other sites More sharing options...
andrisp Posted March 16, 2007 Report Share Posted March 16, 2007 <strong> vai <b> Link to comment Share on other sites More sharing options...
ecoc Posted March 16, 2007 Author Report Share Posted March 16, 2007 NU tas ja bet ko man rakstit taja lapa lai tas uzraditos, kads bus pilnais kods!? Link to comment Share on other sites More sharing options...
Val Posted March 16, 2007 Report Share Posted March 16, 2007 ecoc: pēc kā tu nosaki, kura lapā atrodies tajā brīdī? pēc $_GET['blablabla'] ? Link to comment Share on other sites More sharing options...
andrisp Posted March 16, 2007 Report Share Posted March 16, 2007 Eh.. Nu pirmkārt - kā to padod lapai, ka jārāda otrā lapa ? Caur URL ? lapa.php?lapa=2 ? Ja jā, tad: if ($_GET['lapa'] == 2) { echo '<strong>2</strong>'; } Link to comment Share on other sites More sharing options...
cucumber Posted March 16, 2007 Report Share Posted March 16, 2007 Es damaju vinam vajaga pilnu (gatavu scriptu). Tapec labak butu jautajis "PHP skripti " sadala vai raksti pats Link to comment Share on other sites More sharing options...
andrisp Posted March 16, 2007 Report Share Posted March 16, 2007 Nu kā var iedot kautkādu "pilnu" kodu, ja vispār nav zināms, kā cilvēks ir izveidojis to lapošanas fīču. Ne mēs zinam kādā formātā (kādā html) viņš izdrukā savu lapu sarakstu, ne arī kādus mainīgo nosaukumus izmanto utt. Link to comment Share on other sites More sharing options...
Stopp Posted March 16, 2007 Report Share Posted March 16, 2007 Un to visu zinot tāpat neviens nerakstīs pilnu, gatavu kodu ;) Link to comment Share on other sites More sharing options...
4e4en Posted March 16, 2007 Report Share Posted March 16, 2007 use power of google! Link to comment Share on other sites More sharing options...
savejais Posted March 17, 2007 Report Share Posted March 17, 2007 4e4en - tad vieglāk ir uzlikt forumam augšā uzrakstu - ej uz googli! Priekš kam ir šis forums? Link to comment Share on other sites More sharing options...
4e4en Posted March 17, 2007 Report Share Posted March 17, 2007 nemaz tik grūti nebija atrast: http://www.google.com/search?client=dirsa&...-8&oe=utf-8 http://www.phpfreaks.com/tutorials/73/0.php http://www.roscripts.com/PHP_pagination-70.html Link to comment Share on other sites More sharing options...
Recommended Posts