Kips Posted June 5, 2004 Report Share Posted June 5, 2004 Sorry, ka iespeejams atkaartojos, bet jautaajums taads: itkaa man vaards iekraasojas, ja meklee ar mazo burtu, bet ja vaards saakas ar lielo burtu tas neiekraasojas ;( Varbuut ir kaads risinaajums? Link to comment Share on other sites More sharing options...
bubu Posted June 5, 2004 Report Share Posted June 5, 2004 Ģeniāls problēmas izklāsts. Nekā nevar saprast ;) Link to comment Share on other sites More sharing options...
Kips Posted June 5, 2004 Author Report Share Posted June 5, 2004 Izklaasts: search.php izvada rakstus, kuros atrasts mekleetais vaards. Tad Links uz rakstu: read.php?id=4545&search=mekleejamaisvards. Lapaa read.php ieziimeejam vajadziigo txt ar shaadaam rindinaam: @$test = $_REQUEST['search']; $saturs = str_replace("$test" , "<font color=ff000>$test</font>", $saturs); Tas takaa arii buutu siikaaik ;/ Link to comment Share on other sites More sharing options...
hu_ha Posted June 5, 2004 Report Share Posted June 5, 2004 nu tad meklee arii peec pirmaa lielaa burta $pirmais_b=$substr($test,0,1); $pirmais_b=strtoupper($pirmais_b); $paareejais=$substr($test,1,strlen($test)-1); $test=$pirmais_b.$paareejais; kaut vai taa... droshi vien ka ir arii racionaalaaki varianti kaa to izdariit, bet tos domaa pac... Link to comment Share on other sites More sharing options...
Kips Posted June 6, 2004 Author Report Share Posted June 6, 2004 Ok. thx :) Link to comment Share on other sites More sharing options...
Recommended Posts