Niente... mi sembra allucinante come situazione non scrive assolutamente nulla!!.
A questo punto allego una porzione di codice nella speranza che qualcuno mi dica dove sbaglio!
codice:<html> <head> <title>New Page 1</title> </head> <% strConnString ="Driver={SQL Server}; Server=0.0.0.0; Database=xxx; Uid=xxx; Pwd=xxx;" Set objConn = Server.CreateObject("ADODB.Connection") objConn.Open(strConnString) ID_img = request.querystring("ID_img") sql_immagine = "SELECT * FROM immagini WHERE ID_img="&ID_img&";" set rds_immagine = objConn.execute(sql_immagine) sql_cartella = "SELECT * FROM cartelle WHERE ID_cart="&rds_immagine.fields("id_cart")&";" set rds_cartella = objConn.execute(sql_cartella) sql_commenti = "SELECT ID_com, ID_img, commento, nome FROM commenti WHERE ID_img="&ID_img&";" set rds_commenti = objConn.execute(sql_commenti) %> <body bgcolor="#000000" text="#FFFFFF"> <p align="center"><img border="0" src=" <% response.write Replace(rds_cartella.fields("path")," ", "") response.write "/" response.write rds_immagine.fields("path") %>"></p> <form method="POST" action="--WEBBOT-SELF--"> <div align="center"> <center> <table border="0" width="800"> <tr> <td width="100%">Nome Foto: <input type="text" name="nome_foto" size="100" value="<%response.write rds_immagine.fields("nome")%>"> </p> <hr> <% IF rds_commenti.EOF THEN %> <p align="center"><big>Nessun commento</big></p> <%END IF%> <% c=1 do while not rds_commenti.eof nome_commento = "commento_" + Cstr(rds_commenti.fields("ID_com")) %> Aggiorna Form <input type="checkbox" name="C<%response.write c%>" value="ON"> Nome Utente: <input type="text" name="nome<%response.write c%>" size="25" value="<%response.write Replace(rds_commenti.fields("nome"), " ", "")%>"> <p align="center"><textarea rows="8" name="<%response.write nome_commento%>" cols="100"> <% commento = rds_commenti.fields("commento") & "" response.write commento%> </textarea> <% varsess = "quiIDnum" + CStr(c) Session(varsess) = rds_commenti.Fields("ID_com") rds_commenti.movenext c = c+1 response.write "<hr>" LOOP session("iterazioni") = c %> <p align="center"> </td> </tr> </table> </center> </div> <p align="center"> </p> <p align="center"><input type="submit" value="Modifica" name="Modifica"></p> </form> <p align="center"> </p> </body> </html> <% objConn.Close Set objConn = Nothing %>

Rispondi quotando