Potrebna mi je skripta

Jer ima neko gotovu skriptu
Podeljena na A to Z i za svaka bukva da se stavaju termini podredeni po azbucnom redu?

Ako niste me razumeli.Evo vam primer.Hocu da uradim vakvo nesto

http://www.osvemu.com/index.php?str=pojmovi

Kako da to uradim Hwala

ma upit ti treba biti WHERE polje=’".$slovo."%’

a neka gotova scripta?

bump?

<script type="text/javascript">

function sortit(a,b){
return(a-b)
}

function sortvalues(param){
var inputvalues=document.sorter.sorter2.value.split(" ")
if (param==0) //if sort alphabetically
inputvalues.sort()
else //else if sort numerically
inputvalues.sort(sortit)
document.sorter.sorter2.value=''
for (i=0;i<inputvalues.length-1;i++)
document.sorter.sorter2.value=document.sorter.sorter2.value+inputvalues[i]+" "
document.sorter.sorter2.value+=inputvalues[inputvalues.length-1]
}
</script>

<form name="sorter">
<p>
<textarea rows="10" name="sorter2" cols="50" wrap="virtual"></textarea>

<input type="button" value="Sort alphabetically" onClick="sortvalues(0)">
<input type="button" value="Sort numerically" onClick="sortvalues(1)">
<input type="reset" value="Reset">
</form>

Copyright © 2020 WM Forum - AboutContact - Sponsored by: Mydataknox & Webmaster.Ninja