Ho inserito in un'immaginetta uno script che richiama il nome e cognome di un database. E' possibile inserire uno spazio dopo il nome?
Questo è lo script:
<html>
<head>
<link rel="stylesheet" href="../css/link.css" type="text/css">
<title>.:: Vecchi Giochi Nuovi - Matrice ::.</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style fprolloverstyle>A:hover {color: red; font-weight: bold}
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
</head>
<body topmargin="0" leftmargin="0" background="../immagini/sf_lotto_ita/sfondo_ult_estr.jpg">
<% us = Request.Cookies("entra")("username")
ps = Request.Cookies("entra")("password")
Set db = Server.CreateObject("ADODB.Connection")
db.Open "provider=microsoft.jet.oledb.4.0;data source=" & Server.MapPath("/fpdb/registrazione.mdb")
query="SELECT * FROM utenti WHERE username = '" & us & "' AND parola_chiave = '" & ps & "'"
Set rs = db.Execute(query)
while not rs.EOF
nome= rs("nome")
cognome= rs("cognome")
rs.movenext
wend%>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="380" id="AutoNumber1" height="259">
<tr>
<td width="100%" style="border: 2px dotted #008000" background="../immagini/sf_matrice.jpg">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="383" id="AutoNumber2" height="250">
<tr>
<td width="383" height="41" colspan="3">
<p align="right">
<p align="center">
<a target="_top" href="dati.asp">
[img]../immagini/testa_princ.jpg[/img]<%=cognome%>"></a></td>
</tr>
<tr>
<td width="128" height="135" valign="bottom">
<p align="center">
[img]../immagini/testa_pic.jpg[/img]<%=cognome%>">
</td>
<td width="128" height="135" valign="bottom">
<p align="center">[img]../immagini/testa_pic.jpg[/img]<%=cognome%>"></td>
<td width="127" height="135" valign="bottom">
<p align="center">
[img]../immagini/testa_pic.jpg[/img]<%=cognome%>"></td>
</tr>
<tr>
<td width="128" height="74" valign="bottom">
<p align="center"><a href="javascript:;" onClick="MM_openBrWindow('matrice2.asp','matrice', 'resizable=yes,width=387,height=260')">
[img]../immagini/testa_pic.jpg[/img]<%=cognome%>"></a>[img]../immagini/testa_pic.jpg[/img]<%=cognome%>">[img]../immagini/testa_pic.jpg[/img]<%=cognome%>">
</td>
<td width="128" height="74" valign="bottom">
<p align="center">[img]../immagini/testa_pic.jpg[/img]<%=cognome%>">[img]../immagini/testa_pic.jpg[/img]<%=cognome%>">[img]../immagini/testa_pic.jpg[/img]<%=cognome%>"></td>
<td width="127" height="74" valign="bottom">
<p align="center">
<a href="javascript:;" onClick="MM_openBrWindow('matrice8.asp','matrice', 'resizable=yes,width=387,height=260')">
[img]../immagini/testa_pic.jpg[/img]<%=cognome%>"></a>[img]../immagini/testa_pic.jpg[/img]<%=cognome%>">[img]../immagini/testa_pic.jpg[/img]<%=cognome%>"></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</body>
</html>