Visualizzazione dei risultati da 1 a 5 su 5

Discussione: codice mysql

  1. #1

    codice mysql

    Salve a tutti, qualcuno sa dirmi dove è sbagliata la stringa qUA SOTTO?
    codice:
    SELECT * From annunci where IDCategoria='13' and showe='si' LIMIT 5,5 order by citta ASC
    mi da il seguente errore:

    Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

    [MySQL][ODBC 3.51 Driver][mysqld-4.0.17-nt]You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by citta ASC' at line 1

    /mercatino/Annunciouno.asp, line 155



    GRAZIE

  2. #2
    Utente di HTML.it L'avatar di Luis33
    Registrato dal
    May 2003
    Messaggi
    975
    hai provato togliendo order by?
    ... Sono graditi codes, esempi pratici, suggerimenti, consigli e critiche...
    "Ai posteri l'ardua sentenza..."
    Tante grazie
    Saluti
    Luis 33

  3. #3

    order by mi serve

    ok, ti ringrazio Luis33, senza order by funzioan, solo che a me serve di metterlo order by

  4. #4

  5. #5

    ok funziona

    grazie ora funziona

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.