Dvielis Posted March 15, 2006 Report Share Posted March 15, 2006 <SELECT NAME="fails"> <OPTION value="">fails1.php</OPTION> <OPTION value="">fails2.php</OPTION> <OPTION value="">fails3.php</OPTION> <OPTION value="">fails4.php</OPTION> </SELECT> Kas man šeit trūkst, lai parādoties šai izvēlnei, izvēloties kādu no šo failu nosaukumiem, man atvērtos tas fails, ja pieņem ka galvenā man ir index.php lapa, un izvēlnē nospiežot kādu no variantiem, atvērtos izvēlētā lapa! Link to comment Share on other sites More sharing options...
v3rb0 Posted March 15, 2006 Report Share Posted March 15, 2006 (edited) onchange="window.location.href=this.value" + novāc, vai labākajā gadījumā aizpildi, value="" Edited March 15, 2006 by v3rb0 Link to comment Share on other sites More sharing options...
Vebers Posted March 15, 2006 Report Share Posted March 15, 2006 value(unikals), jo taa value vertiba tiks padota index.php skriptam. <SELECT NAME="fails"> <OPTION value="fails1.php">fails1.php</OPTION> <OPTION value="fails1.php">fails2.php</OPTION> <OPTION value="fails1.php">fails3.php</OPTION> <OPTION value="fails1.php">fails4.php</OPTION> </SELECT> <?php fpassthru($_POST(vai GET)['fails']); ?> Link to comment Share on other sites More sharing options...
Dvielis Posted March 15, 2006 Author Report Share Posted March 15, 2006 jap, liels paldies! viss straadaa =) Link to comment Share on other sites More sharing options...
Recommended Posts