Visa ett inlägg
Oläst 2005-03-13, 15:15 #1
hjuuru hjuuru är inte uppkopplad
Nykomling
 
Reg.datum: Oct 2004
Inlägg: 2
hjuuru hjuuru är inte uppkopplad
Nykomling
 
Reg.datum: Oct 2004
Inlägg: 2
Jag har ett problem med min gästbok som fungerar med php och mysql:

Gästboken tar inte hänsyn till radbyten i meddelandet. radbyten finns kvar i databasen men när jag hämtar meddelandet med php så visar den inga radbyten på skärmen. koden ser ut så hä:

Kod:
<?
while ($rows=mysql_fetch_array($results)) {
	extract($rows);
?>
	<tr valign="top">
 <td width="100" bgcolor="353503"><a href="mailto:<? echo $gbEmail ?>"><? echo $gbName ?></a><br><p><? echo $gbDateAdded ?></p></td>
 <td bgcolor="353503" width="600"><? echo $gbComment ?></td>
	</tr>
	<tr>
	<td colspan="2"><hr></td>
	</tr>
<?
}
?>
tack för hjälpen!
hjuuru är inte uppkopplad   Svara med citatSvara med citat