Αρχή :: Ενότητες :: Scripting :: Απαντήσεις     
 

Forum

checkbox form - Από {tzitzikas}


1)

volvo
fiat
seat

asp code
<%
dim cars

cars=request.form("cars")
response.write("your car is: " &cars)
%>


2)


volvo
fiat
seat

<%
If request.form("volvo")="on" then
response.write("your car is: volvo)
end if
If request.form("fiat")="on" then
response.write("your car is: fiat)
end if
If request.form("seat")="on" then
response.write("your car is: seat)
end if

%>

poia periptwsi einai swsti i kai oi 2 einai swstes? euxaristw

 


Απάντηση από:filaretos

Η 1η.
Είναι πιο εύκολη στην συντήρηση.
Φιλάρετος



tip: Web hosting Unix με Bandwith + Disk space Απεριόριστο μόνο 2.30 € * F5 για νέο tip

   Πίσω στην προηγούμενη σελίδα






Η Εταιρία | Web Hosting | Domain names | Web Information | Υπηρεσίες | Resellers | Υποστήριξη |
Copyright © 2007–09 4GR.NETWORKS, All rights reserved.