ciao a tutti, sto cercando di creare un sito con moduli.
1 - dalla pagina iniziale mi faccio stampare dei record
2 - il menu di sx e di dx dovrebbero comporsi in base a ciò che è indicato nel campo "m_sx" e "m_dx" del database
3 - il codice che uso è il seguente
ma mi restituisce questo errore perchè?. Qual è il mio errore?codice:<% If VarID <= 0 Then VarID = 0 End If SQL = " SELECT * FROM Tabella WHERE Tabella.ID = "& VarID &" " Set RS = Server.CreateObject("ADODB.Recordset") RS.Open SQL, Conn, 1, 3 If NOT RS.EOF Then RSTitolo = RS("Titolo") RSTesto = RS("Testo") RSMenu_sx = RS("m_sx") RSMenu_dx = RS("m_dx") Else RSTitolo = "" RSTesto = "" RSMenu_sx = "incl/m_sx.asp" RSMenu_dx = "incl/m_dx.asp" End If RS.Close Set RS = Nothing Conn.Close Set Conn = Nothing %> <html> <head> <title><%=RSTitolo%></title> </head> <body> <table width="920" border="0" cellspacing="0" cellpadding="0"> <tr> RIGA 38<td width="200"></td> <td width="470" bgcolor="#99FFFF"><%=RSTitolo%> <%=RSTesto%> </td> <td width="250"> </td> </tr> </table> </body> </html>
codice:Active Server Pages errore "ASP 0126' Impossibile trovare il file di inclusione /rewr/inc_pagina.asp, riga 38 Impossibile trovare il file di inclusione "incl/<%=RSMenu_sx%>.asp".

Rispondi quotando