Ho adattato uno script di estrazione di record casuale trovato su freeasp.html.it al mio caso:
In questo modo viene trovato un id a random e quell'id cercato nella tabella, ma mi dà errorecodice:<% randomize() dim id(4) id(0) = "1" id(1) = "2" id(2) = "3" id(3) = "4" dim strSql strSql="SELECT FROM banner WHERE id = "&id&"" response.write strSql %>
alla stringa "strSql"codice:Type mismatch
Come mai? :master: