to all,
we hv a form and a text area that will upload a news content into the database. it will be retrieved from the front end. BUT..we have a problem and the problem:
let's say we enter this into the database:
and we retrieve it this way:
what we see in the browser is this:
but what we want is this:
all the experts out there...any how to do this?
we hv a form and a text area that will upload a news content into the database. it will be retrieved from the front end. BUT..we have a problem and the problem:
let's say we enter this into the database:
the first line.
the second line.
the third line.
the second line.
the third line.
PHP Code:
$result = mysql_query($query, $dbc);
if($result){
$title = mysql_result($result, 0, 'contents');
echo("$title");
}
the first line.the second line.the third line.
the first line.
the second line.
the third line.
the second line.
the third line.
Comment