Hello,
I am facing a very wierd problem.
the problem is that when I save a line (e.g, "This is a line"), it goes fine but when I reterive it back for modification purpose, I get only "This". Does anybody know if I need to use some special PHP function?
Is there anything to do with characterset of the page?
Here is php code:
code for getting the data for modification.
$result = mysql_query("SELECT record_id,sairaanhoitopiiri FROM ktl_epshp where ktl_epshp.record_id = $record_ids");
while ($array = mysql_fetch_array($result)) {
echo <<<EOD
<table align= "center">
<tbody>
<tr>
<td>
EOD;
echo "<input type=\"text\" name=\"sairaanhoitopiiri\" size=\"5\" maxlength=\"10\" value=".$array['sairaanhoitopiiri']." ></td>";
echo <<<EOD
</tr>
<tr>
<td>Toimipaikkatyyppi:</td>
<td>..................