![]() |
Sergey Kornilov admin 8/2/2007 |
What is the Cantonization after all? |
D
|
DouglasB author 8/3/2007 |
What is the Cantonization after all?
|
![]() |
Sergey Kornilov admin 8/3/2007 |
You cannot. |
D
|
DouglasB author 8/3/2007 |
You cannot. If you truncate HTML field at certain position and break HTML formatting the whole page goes wrong.
|
![]() |
Sergey Kornilov admin 8/4/2007 |
Douglas, |
O
|
ombilicus 9/11/2007 |
Hi, |
![]() |
Alexey admin 9/13/2007 |
Hi, global $keylink; $field="YourField"; $table="YourTable"; if(strlen($data[$field])>GetNumberOfChars()) { $value=substr($data[$field],0,GetNumberOfChars()); $value.=" <a href=# onClick=\"java script: pwin = window.open('',null,'height=300,width=400,status=yes,resizable=yes,toolbar=no,menubar=no,location =no,left=150,top=200,scrollbars=yes');"; $value.=" pwin.location='".$table."_fulltext.php?field=".$field."&".$keylink."'; return false;\">"."More"." ...</a>"; $row[$col.$field."_value"] = $value; }
$value=nl2br(htmlspecialchars($data[$field])); this one: $value=$data[$field]; |