|
|
|
อยากทราบโค้ดphpค้นหาข้อมูล จาก list/menu หลังจากที่เราใช้วาจา บังคับให้เลือกตามที่เราต้องการแล้ว |
|
|
|
|
|
|
|
อยากทราบโค้ดphpค้นหาข้อมูล จาก list/menu หลังจากที่เราใช้วาจา บังคับให้เลือกตามที่เราต้องการแล้ว
คัยพอจะมีตัวอย่างบ้างค่ะ อยากได้มาก
ตัวอย่างหน้า form ค่ะ
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>เพลินใจบายคาร์ </title>
<style type="text/css">
.jj {
font-size: 18px;
color: #69F;
font-weight: bold;
}
.uj {
font-size: 16px;
color: #339;
font-weight: bold;
}
body,td,th {
font-size: 16px;
color: #F00;
}
.ik {
color: #09F;
font-weight: bold;
}
</style>
<table>
<tr>
<td width="23%"><span class="style31">ยี่ห้อ : </span></td>
<td width="77%"><strong>
<form name="frmpost" method="post" action="index_s.php">
<select name="brandID" id="brandID" style="font-size:10pt" onChange="redirect(this.options.selectedIndex)" >
<option value=0 selected>All</option><option value=25>ALFA</option><option value=313>ASTON MARTIN</option><option value=40>AUDI</option><option value=246>AUSTIN</option><option value=314>BENTLEY</option><option value=43>BMW</option><option value=247>CADILLAC</option><option value=260>CHEVROLET</option><option value=51>CHRYSLER</option><option value=54>CITROEN</option><option value=62>DAEWOO</option><option value=63>DAIHATSU</option><option value=263>DAIMLER</option><option value=64>FERRARI</option><option value=276>FIAT</option><option value=65>FORD</option><option value=284>HOLDEN</option><option value=68>HONDA</option><option value=315>HUMMER</option><option value=88>HYUNDAI</option><option value=103>ISUZU</option><option value=109>JAGUAR</option><option value=47>JEEP</option><option value=289>KIA</option><option value=316>LAMBORGHINI</option><option value=317>LAND ROVER</option><option value=112>LEXUS</option><option value=303>LOTUS</option><option value=117>MASERATI</option><option value=125>MAZDA</option><option value=130>MERCEDES BENZ</option><option value=132>MG</option><option value=135>MITSUBISHI</option><option value=140>NISSAN</option><option value=154>OPEL</option><option value=167>PEUGEOT</option><option value=173>PORSCHE</option><option value=318>PROTON</option><option value=310>RENAULT</option><option value=319>ROLLS-ROYCE</option><option value=312>ROVER</option><option value=175>SAAB</option><option value=176>SEAT</option><option value=188>SKODA</option><option value=320>SMART</option><option value=196>SSANGYONG</option><option value=199>SUBARU</option><option value=210>SUZUKI</option><option value=322>TATA</option><option value=321>THAIRUNG</option><option value=215>TOYOTA</option><option value=216>VOLKWAGEN</option><option value=223>VOLVO</option><option value=245>-- OTHER --</option>
</select>
</strong></td>
</tr>
<tr>
<td colspan="2">รุ่น :<strong>
<select name="mClassID" id="mClassID" style="font-size:9pt">
<option value="" selected>รุ่น ---------------------</option>
<option value="0">All</option>
</select>
<input type="submit" name="search" id="search
" value="ค้นหา"> </tr>
</form>
<br />
<SCRIPT LANGUAGE=javascript>
<!--
var groups=document.frmpost.brandID.options.length
var group=new Array(groups)
for (i=0; i<groups; i++)
group[i]=new Array()
group[0][0]=new Option("All","0")
group[1][0]=new Option("All","0")
group[1][1]=new Option("147","56")
group[1][2]=new Option("155","57")
group[1][3]=new Option("156","58")
group[1][4]=new Option("164","59")
group[1][5]=new Option("166","60")
group[1][6]=new Option("1750","61")
group[1][7]=new Option("200","62")
group[1][8]=new Option("GTV","63")
group[1][9]=new Option("INIEZIONE ","64")
group[1][10]=new Option("OTHER","79")
group[2][0]=new Option("All","0")
group[2][1]=new Option("DB 7 VANTAGE","81")
group[2][2]=new Option("DB 9","82")
group[2][3]=new Option("DB 9 VOLANTE","83")
group[2][4]=new Option("OTHER","85")
group[2][5]=new Option("VANTAGE","84")
group[3][0]=new Option("All","0")
group[3][1]=new Option("100","69")
group[3][2]=new Option("80","68")
group[3][3]=new Option("A3","70")
group[3][4]=new Option("A4","71")
group[3][5]=new Option("A6","72")
group[3][6]=new Option("A8","73")
group[3][7]=new Option("GT","74")
group[3][8]=new Option("OTHER","80")
group[3][9]=new Option("S4","75")
group[3][10]=new Option("S6","76")
group[3][11]=new Option("TT","77")
group[3][12]=new Option("VARIANT","78")
group[4][0]=new Option("All","0")
group[4][1]=new Option("AUSTIN CLASSIC","92")
group[4][2]=new Option("AUSTIN MINI","93")
group[4][3]=new Option("COOPER","94")
group[4][4]=new Option("MK1","95")
group[4][5]=new Option("ONE","96")
group[4][6]=new Option("OTHER","97")
group[5][0]=new Option("All","0")
group[5][1]=new Option("CONTINENTAL","98")
group[5][2]=new Option("OTHER","101")
group[5][3]=new Option("TORBO-R","99")
group[5][4]=new Option("TURBO-RL","100")
group[6][0]=new Option("All","0")
group[6][1]=new Option("M3","102")
group[6][2]=new Option("M5","103")
group[6][3]=new Option("M6","104")
group[6][4]=new Option("OTHER","115")
group[6][5]=new Option("SERIES 1","105")
group[6][6]=new Option("SERIES 3","106")
group[6][7]=new Option("SERIES 5","107")
group[6][8]=new Option("SERIES 6","108")
group[6][9]=new Option("SERIES 7","109")
group[6][10]=new Option("SERIES 8","110")
group[6][11]=new Option("X3","111")
group[6][12]=new Option("X5","112")
group[6][13]=new Option("Z3","113")
group[6][14]=new Option("Z4","114")
group[7][0]=new Option("All","0")
group[7][1]=new Option("BIARRITG","116")
group[7][2]=new Option("FLEETWOOD","117")
group[7][3]=new Option("NORTHSTER","118")
group[7][4]=new Option("OTHER","120")
group[7][5]=new Option("SEDAN DEVILLE","119")
group[8][0]=new Option("All","0")
group[8][1]=new Option("ASTRO","121")
group[8][2]=new Option("AVEO","122")
group[8][3]=new Option("CAMARO","123")
group[8][4]=new Option("CAPTIVA","124")
group[8][5]=new Option("CHEVY VAN","125")
group[8][6]=new Option("COLORADO","126")
group[8][7]=new Option("CORVETTE","127")
group[8][8]=new Option("EXPRESS","128")
group[8][9]=new Option("IMPALA","130")
group[8][10]=new Option("IMPRESS","129")
group[8][11]=new Option("LUMINA","131")
group[8][12]=new Option("OPTRA","132")
group[8][13]=new Option("OTHER","136")
group[8][14]=new Option("SUBURBAN","133")
group[8][15]=new Option("TAHOE","134")
group[8][16]=new Option("ZAFIRA","135")
group[9][0]=new Option("All","0")
group[9][1]=new Option("300C","137")
group[9][2]=new Option("GRAND VOYAGER","138")
group[9][3]=new Option("NEON","139")
group[9][4]=new Option("OTHER","143")
group[9][5]=new Option("PT CRUISER","140")
group[9][6]=new Option("VIP V8","141")
group[9][7]=new Option("VOYAGER","142")
group[10][0]=new Option("All","0")
group[10][1]=new Option("AX","144")
group[10][2]=new Option("BERLINGO","145")
group[10][3]=new Option("BX","146")
group[10][4]=new Option("BX16","147")
group[10][5]=new Option("C3","148")
group[10][6]=new Option("C5","149")
group[10][7]=new Option("C8","150")
group[10][8]=new Option("CX20","151")
group[10][9]=new Option("EVASION","152")
group[10][10]=new Option("OTHER","157")
group[10][11]=new Option("XANTIA","153")
group[10][12]=new Option("XM","154")
group[10][13]=new Option("X-SARA","155")
group[10][14]=new Option("ZX","156")
group[11][0]=new Option("All","0")
group[11][1]=new Option("APPLAUSE","165")
group[11][2]=new Option("CLELO","158")
group[11][3]=new Option("ESPERO","159")
group[11][4]=new Option("FANTASY","160")
group[11][5]=new Option("LANOS","161")
group[11][6]=new Option("NEXIA","162")
group[11][7]=new Option("OTHER","164")
group[11][8]=new Option("RACER","163")
group[12][0]=new Option("All","0")
group[12][1]=new Option("ATARI","166")
group[12][2]=new Option("AVANZATO","167")
group[12][3]=new Option("AVANZO","168")
group[12][4]=new Option("CHARADE","169")
group[12][5]=new Option("COPEN","170")
group[12][6]=new Option("GINO","171")
group[12][7]=new Option("GRANMOVE","172")
group[12][8]=new Option("HIJET","173")
group[12][9]=new Option("MIRA","174")
group[12][10]=new Option("MIRA CLASSIC","175")
group[12][11]=new Option("MOVE","176")
group[12][12]=new Option("OPTI","177")
group[12][13]=new Option("OTHER","179")
group[12][14]=new Option("TERIOS","178")
group[13][0]=new Option("All","0")
group[13][1]=new Option("OTHER","180")
group[14][0]=new Option("All","0")
group[14][1]=new Option("308 GTB","181")
group[14][2]=new Option("308 QUATTROVALVOLE","182")
group[14][3]=new Option("348","183")
group[14][4]=new Option("348 SPIDER","184")
group[14][5]=new Option("456 GT","185")
group[14][6]=new Option("456GTA","186")
group[14][7]=new Option("512 TR","187")
group[14][8]=new Option("575M MARANELLO","188")
group[14][9]=new Option("599 GTB","189")
group[14][10]=new Option("F355 BERLINITTA","190")
group[14][11]=new Option("F355 GTB","191")
group[14][12]=new Option("F355 GTS","192")
group[14][13]=new Option("F430","193")
group[14][14]=new Option("OTHER","194")
group[15][0]=new Option("All","0")
group[15][1]=new Option("1100","195")
group[15][2]=new Option("124","196")
group[15][3]=new Option("131","197")
group[15][4]=new Option("132","198")
group[15][5]=new Option("OTHER","201")
group[15][6]=new Option("PUNTO","199")
group[15][7]=new Option("TEMPRA","200")
group[16][0]=new Option("All","0")
group[16][1]=new Option("1000EC","202")
group[16][2]=new Option("ASPIRE","203")
group[16][3]=new Option("CAPRI","204")
group[16][4]=new Option("ECONOVAN","205")
group[16][5]=new Option("ESCAPE","206")
group[16][6]=new Option("ESCORT","207")
group[16][7]=new Option("EVEREST","208")
group[16][8]=new Option("EXPRORER","209")
group[16][9]=new Option("F IESTA","211")
group[16][10]=new Option("FESTIVA","210")
group[16][11]=new Option("FOCUS","212")
group[16][12]=new Option("GRANADA","213")
group[16][13]=new Option("LASER","214")
group[16][14]=new Option("LINCOLN","215")
group[16][15]=new Option("MARATHON","216")
group[16][16]=new Option("MARK7","217")
group[16][17]=new Option("MONDEO","218")
group[16][18]=new Option("MUSTANG","219")
group[16][19]=new Option("OTHER","222")
group[16][20]=new Option("RANGER","220")
group[16][21]=new Option("SIERRA","221")
group[17][0]=new Option("All","0")
group[17][1]=new Option("CALAIS","226")
group[17][2]=new Option("CAMARA","227")
group[17][3]=new Option("OTHER","228")
group[18][0]=new Option("All","0")
group[18][1]=new Option("ACCORD","229")
group[18][2]=new Option("AIRWAVE","230")
group[18][3]=new Option("ASCOT","231")
group[18][4]=new Option("CITY","232")
group[18][5]=new Option("CIVIC","233")
group[18][6]=new Option("CR-V","234")
group[18][7]=new Option("CRX","235")
group[18][8]=new Option("DUNK","236")
group[18][9]=new Option("EDIX","237")
group[18][10]=new Option("ELYSION","238")
group[18][11]=new Option("FREED","688")
group[18][12]=new Option("HR-V","239")
group[18][13]=new Option("INSIGHT","240")
group[18][14]=new Option("INSPIRE","241")
group[18][15]=new Option("INTEGRA","242")
group[18][16]=new Option("JAZZ","243")
group[18][17]=new Option("LEGEND","244")
group[18][18]=new Option("MOBILIO","245")
group[18][19]=new Option("NSX","246")
group[18][20]=new Option("ODYSSEY","247")
group[18][21]=new Option("OTHER","254")
group[18][22]=new Option("PRELUDE","248")
group[18][23]=new Option("S2000","249")
group[18][24]=new Option("STEPWGN","250")
group[18][25]=new Option("STREAM","251")
group[18][26]=new Option("TOURMASTER","252")
group[18][27]=new Option("VIGOR","253")
group[19][0]=new Option("All","0")
group[19][1]=new Option("H2","223")
group[19][2]=new Option("H3","224")
group[19][3]=new Option("OTHER","225")
group[20][0]=new Option("All","0")
group[20][1]=new Option("ACCENT","255")
group[20][2]=new Option("AXEN","256")
group[20][3]=new Option("ELANTRA","257")
group[20][4]=new Option("EXCEL","258")
group[20][5]=new Option("H1","689")
group[20][6]=new Option("OTHER","265")
group[20][7]=new Option("SANTA","259")
group[20][8]=new Option("SCOUPE","260")
group[20][9]=new Option("SONATA","261")
group[20][10]=new Option("SPRINT","262")
group[20][11]=new Option("TIBURON","263")
group[20][12]=new Option("TUCSON","690")
group[20][13]=new Option("XG","264")
group[21][0]=new Option("All","0")
group[21][1]=new Option("ASKA","266")
group[21][2]=new Option("BUDDY","267")
group[21][3]=new Option("CAMEO","268")
group[21][4]=new Option("D-MAX","269")
group[21][5]=new Option("DRAGON EYE","270")
group[21][6]=new Option("DRAGON POWER","271")
group[21][7]=new Option("ELF","272")
group[21][8]=new Option("GEO STORM","273")
group[21][9]=new Option("IMPPULSE","274")
group[21][10]=new Option("KM","275")
group[21][11]=new Option("MU","276")
group[21][12]=new Option("MU-7","277")
group[21][13]=new Option("NHR","278")
group[21][14]=new Option("OTHER","283")
group[21][15]=new Option("TFR","279")
group[21][16]=new Option("TROOPER","280")
group[21][17]=new Option("V-CROSS","281")
group[21][18]=new Option("VERTEX","282")
group[22][0]=new Option("All","0")
group[22][1]=new Option("DAIMLER","284")
group[22][2]=new Option("OTHER","293")
group[22][3]=new Option("SJ-","285")
group[22][4]=new Option("SOVEREIGN","286")
group[22][5]=new Option("S-TYPE","287")
group[22][6]=new Option("XJ-","289")
group[22][7]=new Option("XJR","288")
group[22][8]=new Option("XK-","290")
group[22][9]=new Option("XL-","291")
group[22][10]=new Option("X-TYPE","292")
group[23][0]=new Option("All","0")
group[23][1]=new Option("CHEROKEE","294")
group[23][2]=new Option("CJ6","295")
group[23][3]=new Option("GRAND CHEROKEE","296")
group[23][4]=new Option("OTHER","300")
group[23][5]=new Option("VILLY","297")
group[23][6]=new Option("WAGONEER","298")
group[23][7]=new Option("WRANGLER","299")
group[24][0]=new Option("All","0")
group[24][1]=new Option("CARENS","301")
group[24][2]=new Option("CARNIVAL","302")
group[24][3]=new Option("GRANDCARNIVAL","303")
group[24][4]=new Option("GRANDSPORTAGE","304")
group[24][5]=new Option("JUMBO","305")
group[24][6]=new Option("OTHER","311")
group[24][7]=new Option("PREGIO","306")
group[24][8]=new Option("RIO","307")
group[24][9]=new Option("SEPHIA","308")
group[24][10]=new Option("SORENTO","309")
group[24][11]=new Option("SPORTAGE","310")
group[25][0]=new Option("All","0")
group[25][1]=new Option("DIABIO","312")
group[25][2]=new Option("GALLARDO","313")
group[25][3]=new Option("MURCIELAGO","314")
group[25][4]=new Option("OTHER","315")
group[26][0]=new Option("All","0")
group[26][1]=new Option("1","320")
group[26][2]=new Option("3","321")
group[26][3]=new Option("DEFENDER","316")
group[26][4]=new Option("DISCOVERY","317")
group[26][5]=new Option("FREELANDER","318")
group[26][6]=new Option("OTHER","322")
group[26][7]=new Option("RANGE ROVER","319")
group[27][0]=new Option("All","0")
group[27][1]=new Option("ALTEZZA","323")
group[27][2]=new Option("ARISTO","324")
group[27][3]=new Option("ES300","325")
group[27][4]=new Option("GS300","326")
group[27][5]=new Option("IS200","327")
group[27][6]=new Option("IS250","328")
group[27][7]=new Option("LS400","329")
group[27][8]=new Option("LS430","330")
group[27][9]=new Option("LX470CYGNUS","331")
group[27][10]=new Option("OTHER","337")
group[27][11]=new Option("RX300{HARIER}","332")
group[27][12]=new Option("RX330","333")
group[27][13]=new Option("RX350","334")
group[27][14]=new Option("SC430","335")
group[27][15]=new Option("SOARER COUPE","336")
group[28][0]=new Option("All","0")
group[28][1]=new Option("ELISE","338")
group[28][2]=new Option("ESPRIT","339")
group[28][3]=new Option("EXIGE","340")
group[28][4]=new Option("OTHER","343")
group[28][5]=new Option("SPORT","341")
group[28][6]=new Option("SUPER 7","342")
group[29][0]=new Option("All","0")
group[29][1]=new Option("222SR","344")
group[29][2]=new Option("3200GT","345")
group[29][3]=new Option("430","346")
group[29][4]=new Option("FININFARINO","347")
group[29][5]=new Option("GHIBLI","348")
group[29][6]=new Option("OTHER","352")
group[29][7]=new Option("QTTOCILINDRI","349")
group[29][8]=new Option("QUATTROPORTE","350")
group[29][9]=new Option("SPYDER","351")
group[30][0]=new Option("All","0")
group[30][1]=new Option("121","353")
group[30][2]=new Option("2","687")
group[30][3]=new Option("3","354")
group[30][4]=new Option("323","355")
group[30][5]=new Option("323-ASTINA","356")
group[30][6]=new Option("626","357")
group[30][7]=new Option("808","358")
group[30][8]=new Option("929","359")
group[30][9]=new Option("BT-50","360")
group[30][10]=new Option("CAPELLA","361")
group[30][11]=new Option("FAMILIA","362")
group[30][12]=new Option("FIGHTER","363")
group[30][13]=new Option("LANTIS","364")
group[30][14]=new Option("MARATHON","365")
group[30][15]=new Option("MAXNUM","366")
group[30][16]=new Option("MPV","367")
group[30][17]=new Option("MX5","368")
group[30][18]=new Option("OTHER","375")
group[30][19]=new Option("RX3","369")
group[30][20]=new Option("RX7","370")
group[30][21]=new Option("RX8","371")
group[30][22]=new Option("THUNDER","372")
group[30][23]=new Option("TRIBUTE","373")
group[30][24]=new Option("XEDOS 9","374")
group[31][0]=new Option("All","0")
group[31][1]=new Option("A-CLASS","376")
group[31][2]=new Option("B-CLASS","377")
group[31][3]=new Option("C-CLASS","378")
group[31][4]=new Option("CL-CLASS","379")
group[31][5]=new Option("CLK-CLASS","380")
group[31][6]=new Option("CLS-CLASS","381")
group[31][7]=new Option("E-CLASS","382")
group[31][8]=new Option("G-CLASS","383")
group[31][9]=new Option("M-CLASS","384")
group[31][10]=new Option("ML-CLASS","385")
group[31][11]=new Option("OTHER","386")
group[31][12]=new Option("OTHER","394")
group[31][13]=new Option("R-CLASS","387")
group[31][14]=new Option("S-CLASS","388")
group[31][15]=new Option("SL-CLASS","389")
group[31][16]=new Option("SLK-CLASS","390")
group[31][17]=new Option("SLR-CLASS","391")
group[31][18]=new Option("SPRINTER","392")
group[31][19]=new Option("V-CLASS","393")
group[32][0]=new Option("All","0")
group[32][1]=new Option("CLASSIC","395")
group[32][2]=new Option("MGA","396")
group[32][3]=new Option("MGF","397")
group[32][4]=new Option("MIDGET MARK III","398")
group[32][5]=new Option("OTHER","399")
group[33][0]=new Option("All","0")
group[33][1]=new Option("3000 GTO","400")
group[33][2]=new Option("AIRTREK","401")
group[33][3]=new Option("CHAMP","402")
group[33][4]=new Option("COLT","403")
group[33][5]=new Option("DELICA","404")
group[33][6]=new Option("DIAMANTE","405")
group[33][7]=new Option("ECLIPSE","406")
group[33][8]=new Option("EVOLUTION","407")
group[33][9]=new Option("FTO","408")
group[33][10]=new Option("GALANT","409")
group[33][11]=new Option("G-WAGON","410")
group[33][12]=new Option("L200-CYCLONE","411")
group[33][13]=new Option("L200-STRADA","412")
group[33][14]=new Option("L300","413")
group[33][15]=new Option("LANCER","414")
group[33][16]=new Option("MAGNA","415")
group[33][17]=new Option("OTHER","422")
group[33][18]=new Option("OUTRANDER","416")
group[33][19]=new Option("PAJERO","417")
group[33][20]=new Option("SPACE RUNNER","418")
group[33][21]=new Option("SPACE WAGON","419")
group[33][22]=new Option("TRITON","420")
group[33][23]=new Option("ULTIMA","421")
group[34][0]=new Option("All","0")
group[34][1]=new Option("180 SX","423")
group[34][2]=new Option("200 SX","424")
group[34][3]=new Option("300 ZX","425")
group[34][4]=new Option("350Z","426")
group[34][5]=new Option("ATLAS","427")
group[34][6]=new Option("BIG-M FRONTIER NAVARA","428")
group[34][7]=new Option("BIG-M FRONTIER1-2","429")
group[34][8]=new Option("BIG-M{ปี89-98}","430")
group[34][9]=new Option("BLUEBIRD","431")
group[34][10]=new Option("CARAVAN ","432")
group[34][11]=new Option("CEDRIC","433")
group[34][12]=new Option("CEFIRO","434")
group[34][13]=new Option("CIMA","435")
group[34][14]=new Option("DATSUN","436")
group[34][15]=new Option("ELGRAND","437")
group[34][16]=new Option("FAIRLADY","438")
group[34][17]=new Option("GT-R","439")
group[34][18]=new Option("INFINITI","440")
group[34][19]=new Option("LARGO","441")
group[34][20]=new Option("LAUREL","442")
group[34][21]=new Option("MARCH","691")
group[34][22]=new Option("MAXIMA","443")
group[34][23]=new Option("MURANO","444")
group[34][24]=new Option("NV","445")
group[34][25]=new Option("NX","446")
group[34][26]=new Option("OTHER","466")
group[34][27]=new Option("PRAIRE","447")
group[34][28]=new Option("PRESEA","448")
group[34][29]=new Option("PRESIDENT","449")
group[34][30]=new Option("PRIMERA","450")
group[34][31]=new Option("PULSAR","451")
group[34][32]=new Option("SAFARI","452")
group[34][33]=new Option("SD","453")
group[34][34]=new Option("SENTRA","454")
group[34][35]=new Option("SERENA","455")
group[34][36]=new Option("SILVIA","456")
group[34][37]=new Option("SKYLINE","457")
group[34][38]=new Option("STANZA","458")
group[34][39]=new Option("SUNNY","459")
group[34][40]=new Option("TEANA","460")
group[34][41]=new Option("TERRANO","461")
group[34][42]=new Option("TIIDA","462")
group[34][43]=new Option("URVAN","463")
group[34][44]=new Option("VANETTE","464")
group[34][45]=new Option("X-TRAIL","465")
group[35][0]=new Option("All","0")
group[35][1]=new Option("ASTRA","467")
group[35][2]=new Option("CALIBRA","468")
group[35][3]=new Option("CAMPO","469")
group[35][4]=new Option("CORSA","470")
group[35][5]=new Option("KADETT","471")
group[35][6]=new Option("OMEGA","472")
group[35][7]=new Option("OTHER","475")
group[35][8]=new Option("TIGRA","473")
group[35][9]=new Option("VECTRA","474")
group[36][0]=new Option("All","0")
group[36][1]=new Option("205","476")
group[36][2]=new Option("206","477")
group[36][3]=new Option("207","478")
group[36][4]=new Option("305","479")
group[36][5]=new Option("306","480")
group[36][6]=new Option("307","481")
group[36][7]=new Option("309","482")
group[36][8]=new Option("404","483")
group[36][9]=new Option("405","484")
group[36][10]=new Option("406","485")
group[36][11]=new Option("407","486")
group[36][12]=new Option("504","487")
group[36][13]=new Option("505","488")
group[36][14]=new Option("605","489")
group[36][15]=new Option("807","490")
group[36][16]=new Option("OTHER","491")
group[37][0]=new Option("All","0")
group[37][1]=new Option("911 CARRERA","492")
group[37][2]=new Option("911 CARRERA4","493")
group[37][3]=new Option("911 GT2","494")
group[37][4]=new Option("911 TURBO","495")
group[37][5]=new Option("914","496")
group[37][6]=new Option("924 CERRERA","497")
group[37][7]=new Option("928","498")
group[37][8]=new Option("933 CERRERA","499")
group[37][9]=new Option("944","500")
group[37][10]=new Option("964 CARRERA","501")
group[37][11]=new Option("968 CERRERA","502")
group[37][12]=new Option("993 CERRERA","503")
group[37][13]=new Option("996CERRERA","504")
group[37][14]=new Option("996GT3","505")
group[37][15]=new Option("997CERRERA","506")
group[37][16]=new Option("BOXSTER.CARRERA","507")
group[37][17]=new Option("CAYENNE","508")
group[37][18]=new Option("CAYMAN","509")
group[37][19]=new Option("OTHER","510")
group[38][0]=new Option("All","0")
group[38][1]=new Option("DERDANA","511")
group[38][2]=new Option("GEN-2","692")
group[38][3]=new Option("OTHER","515")
group[38][4]=new Option("PERODUA KANCIL","512")
group[38][5]=new Option("PERODUA KEMBARA","513")
group[38][6]=new Option("PERODUA KENARI","514")
group[39][0]=new Option("All","0")
group[39][1]=new Option("DAUPHINE","516")
group[39][2]=new Option("ESPACE","517")
group[39][3]=new Option("OTHER","522")
group[39][4]=new Option("R19","518")
group[39][5]=new Option("R21","519")
group[39][6]=new Option("R9","520")
group[39][7]=new Option("SPORT CLIO","521")
group[40][0]=new Option("All","0")
group[40][1]=new Option("CORNICHE II","523")
group[40][2]=new Option("OTHER","526")
group[40][3]=new Option("SILVER SHADOW I","524")
group[40][4]=new Option("SILVER SHADOW II","525")
group[41][0]=new Option("All","0")
group[41][1]=new Option("220 COUPE","527")
group[41][2]=new Option("623","528")
group[41][3]=new Option("627","529")
group[41][4]=new Option("75","530")
group[41][5]=new Option("820","531")
group[41][6]=new Option("MINI","532")
group[41][7]=new Option("OTHER","533")
group[42][0]=new Option("All","0")
group[42][1]=new Option("9000","534")
group[42][2]=new Option("9000CD","535")
group[42][3]=new Option("9000CDE","536")
group[42][4]=new Option("9000CS","537")
group[42][5]=new Option("9000CSE","538")
group[42][6]=new Option("900S","539")
group[42][7]=new Option("900SE","540")
group[42][8]=new Option("93","541")
group[42][9]=new Option("95","542")
group[42][10]=new Option("99","543")
group[42][11]=new Option("DRAKEN 900S","544")
group[42][12]=new Option("OTHER","545")
group[43][0]=new Option("All","0")
group[43][1]=new Option("ALHAMBRA","546")
group[43][2]=new Option("CORDOBA","547")
group[43][3]=new Option("OTHER","549")
group[43][4]=new Option("TOLEDO","548")
group[44][0]=new Option("All","0")
group[44][1]=new Option("FABIA","550")
group[44][2]=new Option("OCTAVIA","551")
group[44][3]=new Option("OTHER","552")
group[45][0]=new Option("All","0")
group[45][1]=new Option("OTHER","554")
group[45][2]=new Option("SMART","553")
group[46][0]=new Option("All","0")
group[46][1]=new Option("CHAIRMAN","555")
group[46][2]=new Option("MUSSO","556")
group[46][3]=new Option("OTHER","559")
group[46][4]=new Option("REXTON","557")
group[46][5]=new Option("STAVIC","558")
group[47][0]=new Option("All","0")
group[47][1]=new Option("ALEYONE","560")
group[47][2]=new Option("FORESTER","561")
group[47][3]=new Option("GLF-5","562")
group[47][4]=new Option("GLT","563")
group[47][5]=new Option("IMPREZA","564")
group[47][6]=new Option("LEGACY","565")
group[47][7]=new Option("OTHER","567")
group[47][8]=new Option("R2","566")
group[48][0]=new Option("All","0")
group[48][1]=new Option("APV","568")
group[48][2]=new Option("CARIBIAN","569")
group[48][3]=new Option("CERVO-C","570")
group[48][4]=new Option("ESTEEM","571")
group[48][5]=new Option("EVERY","572")
group[48][6]=new Option("GRAND VITARA","573")
group[48][7]=new Option("JIMMY","574")
group[48][8]=new Option("OTHER","578")
group[48][9]=new Option("SWIFT","575")
group[48][10]=new Option("VITARA","576")
group[48][11]=new Option("WAGON R","577")
group[49][0]=new Option("All","0")
group[49][1]=new Option("OTHER","579")
group[49][2]=new Option("XENON","693")
group[50][0]=new Option("All","0")
group[50][1]=new Option("OTHER","581")
group[50][2]=new Option("PASSPORT","580")
group[51][0]=new Option("All","0")
group[51][1]=new Option("4RUNNER","582")
group[51][2]=new Option("ALPHARD","583")
group[51][3]=new Option("ALTEZZA","584")
group[51][4]=new Option("ARISTO","585")
group[51][5]=new Option("AVANZA","586")
group[51][6]=new Option("CALDINA","587")
group[51][7]=new Option("CAMRY","588")
group[51][8]=new Option("CARIB","589")
group[51][9]=new Option("CARINA","590")
group[51][10]=new Option("CAVALIER","591")
group[51][11]=new Option("CELICA","592")
group[51][12]=new Option("CELSIOR","593")
group[51][13]=new Option("COROLLA","594")
group[51][14]=new Option("CORONA","595")
group[51][15]=new Option("CRESSIDA","596")
group[51][16]=new Option("CROWN","597")
group[51][17]=new Option("DYNA","598")
group[51][18]=new Option("EMINA","599")
group[51][19]=new Option("ESTIMA","600")
group[51][20]=new Option("FORTUNER","601")
group[51][21]=new Option("GAIA","602")
group[51][22]=new Option("GLANZA","603")
group[51][23]=new Option("GRAND HIACE","604")
group[51][24]=new Option("GRANVIA","605")
group[51][25]=new Option("HARRIER","606")
group[51][26]=new Option("HIACE","607")
group[51][27]=new Option("HILUX HERO","608")
group[51][28]=new Option("HILUX SPORT RIDER","609")
group[51][29]=new Option("HILUX TIGER","610")
group[51][30]=new Option("HILUX TIGER D4D","611")
group[51][31]=new Option("HILUX VIGO","612")
group[51][32]=new Option("INNOVA","613")
group[51][33]=new Option("IPSUM","614")
group[51][34]=new Option("IST","615")
group[51][35]=new Option("KLUGER","616")
group[51][36]=new Option("LAND CRUISER","617")
group[51][37]=new Option("LEVIN","618")
group[51][38]=new Option("LIACE","619")
group[51][39]=new Option("LN","620")
group[51][40]=new Option("LUCIDA","621")
group[51][41]=new Option("MARINO","622")
group[51][42]=new Option("MARK X","623")
group[51][43]=new Option("MR2","624")
group[51][44]=new Option("MR-S","625")
group[51][45]=new Option("NOAH","626")
group[51][46]=new Option("OTHER","650")
group[51][47]=new Option("PASED","627")
group[51][48]=new Option("PORTE","628")
group[51][49]=new Option("PREVIA","629")
group[51][50]=new Option("PRIUS","630")
group[51][51]=new Option("RAV4","631")
group[51][52]=new Option("REGIUS","632")
group[51][53]=new Option("SERA","633")
group[51][54]=new Option("SOARER","634")
group[51][55]=new Option("SOLUNA","635")
group[51][56]=new Option("SPACIO","636")
group[51][57]=new Option("SR5","637")
group[51][58]=new Option("STARLET","638")
group[51][59]=new Option("SUPRA","639")
group[51][60]=new Option("SURF","640")
group[51][61]=new Option("TERCEL","641")
group[51][62]=new Option("TRUENO","642")
group[51][63]=new Option("VANGUARD","643")
group[51][64]=new Option("VENTURY","644")
group[51][65]=new Option("VIOS","686")
group[51][66]=new Option("VISTA","645")
group[51][67]=new Option("VOLTZ","646")
group[51][68]=new Option("VOXY","647")
group[51][69]=new Option("WISH","648")
group[51][70]=new Option("YARIS","649")
group[52][0]=new Option("All","0")
group[52][1]=new Option("CARAVELLE","651")
group[52][2]=new Option("CLASSIC CAR","652")
group[52][3]=new Option("CORRADO","653")
group[52][4]=new Option("GOLF","654")
group[52][5]=new Option("NEW BEETLE","655")
group[52][6]=new Option("OTHER","660")
group[52][7]=new Option("PASSAT","656")
group[52][8]=new Option("SHARAN","657")
group[52][9]=new Option("TRANSPORTER","658")
group[52][10]=new Option("VENTO","659")
group[53][0]=new Option("All","0")
group[53][1]=new Option("224","661")
group[53][2]=new Option("440","662")
group[53][3]=new Option("460","663")
group[53][4]=new Option("480","664")
group[53][5]=new Option("740","665")
group[53][6]=new Option("760","666")
group[53][7]=new Option("850","667")
group[53][8]=new Option("940","668")
group[53][9]=new Option("960","669")
group[53][10]=new Option("C30","670")
group[53][11]=new Option("C70","671")
group[53][12]=new Option("CLASSIC CAR","672")
group[53][13]=new Option("OTHER","682")
group[53][14]=new Option("S40","673")
group[53][15]=new Option("S60","674")
group[53][16]=new Option("S70","675")
group[53][17]=new Option("S80","676")
group[53][18]=new Option("S90","677")
group[53][19]=new Option("V40","678")
group[53][20]=new Option("V70","679")
group[53][21]=new Option("XC70","680")
group[53][22]=new Option("XC90","681")
group[54][0]=new Option("All","0")
group[54][1]=new Option("OTHER","35")
var temp=document.frmpost.mClassID
function redirect(x){
for (m=temp.options.length-1;m>0;m--)
temp.options[m]=null
for (i=0;i<group[x].length;i++){
temp.options[i]=new Option(group[x][i].text,group[x][i].value)
}
temp.options[0].selected=true
}
//-->
</SCRIPT> -->
Tag : PHP, MySQL, Ms SQL Server 2005, Ms SQL Server 2008
|
|
|
|
|
|
Date :
2010-12-25 14:34:33 |
By :
เด็ดไอทีระยอง |
View :
2764 |
Reply :
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
เอาค่าที่เลื่อกไว้ ไปค้นหากับฐานข้อมูลหรือป่าว ครับ
ถ้าใช้
php-post
+
sql-like
|
|
|
|
|
Date :
2010-12-25 18:37:47 |
By :
iieszz |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 00
|