Exw mia bash dedomenwn se Access, kai me kapoio script(VBscript) emfanizw to periexomeno kapoiwn pediwn ths. To problhma mou einai oti to periexomeno twn pediwn einai keimeno kai me thn emfanish toy bgazei ola ta kena kai ta emafanizei san mia leksi. Mporei na mou pei kapoios pws mprw na krathsw thn morfopoihsh tou keimenou, oste kata thn emfanish na mhn exw auto to problhma.
Euxaristw polu
Μπορείς να τοποθετήσεις τον κώδικα όλης τις σελίδας εδώ για να δούμε το λάθος. Κάπου έχεις προσθέσει κάτι
to script poy thelw na emfanizei ta periexomena enos text field einai ayto....emfanizei omws to text se mia seira xwris ta kena!...ti mporoyme na kanoyme wste na emfanizei akribws opws einai to text??? Eyxaristw!!
<%
Set conn = Server.CreateObject("ADODB.Connection")
conn.ConnectionString="Data Source=" & _
server.mappath("flights.dbf")
conn.Open Application("Database2_ConnectionString")
sql = "SELECT finfplan FROM flights where (fltno ="" 412""and company=""OA "")"
Set rs = conn.Execute(sql)
if Not rs.EOF then
Response.Write rs("finfplan").value
else
response.write "No Find"
end if
%>
Έχεις προσπαθήσει να διαγράψει το .value από το
Response.Write rs("finfplan").value
kai go to idio provlima exo mipos mporeis na voh8iseis ?
td><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">
<%var ss=(Recordset1.Fields.Item("8ema").Value);
Response.write(ss.replace("\n","<br>"));%></font> </td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="3" align="default"> <hr> </td>
</tr>
<%
Repeat1__index++;
Recordset1.MoveNext();
}
%>
ti la8os kano edo ...
finfplan = server.htmlencode(finfplan)
finfplan = replace(finfplan, chr(13), "<br>")
Response.write(ss.replace(chr(13),"<br>")));%></font> </td>
td><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">
<%var ss=(Recordset1.Fields.Item("8ema").Value);
Response.write(ss.replace(chr(13),"<br>")));%></font>
diladi na ginei etsi Alex?
etsi den doulevei ......
Τι error σου βγάζει;
Microsoft JScript compilation error '800a03ec'
Expected ';'
/games/test.asp, line 354
Response.write(ss.replace(chr(13),"<br>")));
------------------------------------------^
Βγάλε μια παρένθεση από το τέλος.
to dokimasa kai afto .....
Microsoft JScript runtime error '800a138f'
Object expected
/games/test.asp, line 354
tip: Gr και διεθνή domain names με δωρεάν web hosting * F5 για νέο tip