Ciao,
ho fatto una select sul mio db ....
var sql_tot = "SELECT count(*) FROM STORICO WHERE data_prenotazione = '" + testo + "'";
var Mostra_tot = Cn.Execute(sql_tot);
Come faccio a mostrare a video il risultato ?
facendo :
<%if (testo != "undefined") {%>
<font color="white">Risultati della ricerca per il termine <font color="Red"><%=testo%></font></p>
<font color="white">Numero fax <font color="Red"><%Response.Write(mostra_tot)%></font></p>
Esce l' errore mostra_tot is undefined.
![]()
Bobone32

Rispondi quotando