seahorse123
Programmer
I have text contents that is saved in the table column "message varchar 5000"
However when I tried to retrieve it, it only display the first 255 characters:
I don't why it only displays the part of text, anyone can help me? thanks.
However when I tried to retrieve it, it only display the first 255 characters:
Code:
$query="select message from tb1 where id=1";
$result=mssql_query($query);
for ($i=0;$i < mssql_num_rows($result); ++$i)
{
$line=mssql_fetch_row($result);
$message=$line[0];
print "$message";
}
I don't why it only displays the part of text, anyone can help me? thanks.