Visualizzazione dei risultati da 1 a 7 su 7
  1. #1

    select in base inizio campo

    ciao,
    devo fare una select che mi estragga tutti i campi città che iniziano per A e che li metta in ordine alfabetico

    questa è la mia select:

    sql="select * from hotel where citta "inizia per a" order by citta asc"


  2. #2
    Utente di HTML.it L'avatar di Umanista
    Registrato dal
    Jan 2002
    Messaggi
    1,022
    sql="select * from hotel where citta LIKE 'a%' order by citta asc"

  3. #3
    ok grazie!!!

    senti ti vorrei chiedere un'altra cosa.... io ho un sito a e un sito b e possibile in qulche modo controllare se nel sito b c'è presente un link verso il sito a? ... non so se mi sono spiegato come si chiama questa cosa?

  4. #4
    Moderatore di ASP e MS Server L'avatar di Roby_72
    Registrato dal
    Aug 2001
    Messaggi
    19,559
    Recuperi l'HTML del sito b con XMLHTTP e verifichi se lì dentro c'è il link.

    Roby

  5. #5
    non c'è n link qualcosa da studiare

  6. #6
    Moderatore di ASP e MS Server L'avatar di Roby_72
    Registrato dal
    Aug 2001
    Messaggi
    19,559
    Se cerchi nel forum magari...

    Roby

  7. #7
    ho trovato una cosa del genere:
    <%@ Language = "VBScript" %>
    <%
    URL = "http://www.freeasp.it"
    Set objXMLHTTP = Server.CreateObject("Microsoft.XMLHTTP")
    objXMLHTTP.Open "Get", URL, False
    objXMLHTTP.Send
    testoHTML = CStr(objXMLHTTP.ResponseStream)
    Set xml = Nothing

    response.write(testoHTML)
    %>

    ma non mi funge...

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.