AAndr3 Posted October 3, 2018 at 02:20 PM Report #611974 Posted October 3, 2018 at 02:20 PM Boa tarde, Estou a criar para a minha pap um site de venda de carros, do género do stand virtual. iA9Zf4Z.png E queria saber como é que faço a condição para fazer com que ele va buscar ao servidor só o que foi introduzido pelo utilizador. Por exemplo o utilizador só quer pesquisar marca e o preco, entao como é que eu faço isso? obg
M6 Posted October 3, 2018 at 04:23 PM Report #611976 Posted October 3, 2018 at 04:23 PM Colocas o filtro na clausula "where". 10 REM Generation 48K! 20 INPUT "URL:", A$ 30 IF A$(1 TO 4) = "HTTP" THEN PRINT "400 Bad Request": GOTO 50 40 PRINT "404 Not Found" 50 PRINT "./M6 @ Portugal a Programar."
AAndr3 Posted October 4, 2018 at 07:38 AM Author Report #611980 Posted October 4, 2018 at 07:38 AM Como assim?
M6 Posted October 4, 2018 at 09:57 AM Report #611981 Posted October 4, 2018 at 09:57 AM Tens de aprender SQL para fazeres o que queres. Vê aqui: https://elias.praciano.com/2015/04/como-filtrar-resultados-com-a-clausula-where-no-mysql/ 10 REM Generation 48K! 20 INPUT "URL:", A$ 30 IF A$(1 TO 4) = "HTTP" THEN PRINT "400 Bad Request": GOTO 50 40 PRINT "404 Not Found" 50 PRINT "./M6 @ Portugal a Programar."
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now