Kips Posted June 5, 2004 Report 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?
bubu Posted June 5, 2004 Report Posted June 5, 2004 Ģeniāls problēmas izklāsts. Nekā nevar saprast ;)
Kips Posted June 5, 2004 Author Report 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 ;/
hu_ha Posted June 5, 2004 Report 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...
Recommended Posts