![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
i need some help, im a real noob, i want to show only 30 words and then add .... at the end (so when more then 30 words it wil be cut of with....) my problem is that i dont know how to put this code: if(strlen($source) > 30) $message = str_pad($source, 30, "...", STR_PAD_RIGHT); into this table: td width="279" align="left" valign="top" bgcolor="#BDBDBD" p class="Description"><?php echo $row_Animation['description']; ?></p /td |
#3
| |||
| |||
|
|
i need some help, im a real noob, i want to show only 30 words and then add .... at the end (so when more then 30 words it wil be cut of with....) my problem is that i dont know how to put this code: if(strlen($source) > 30) $message = str_pad($source, 30, "...", STR_PAD_RIGHT); |
|
td width="279" align="left" valign="top" bgcolor="#BDBDBD" p class="Description"><?php echo $s; ?></p /td |
#4
| |||
| |||
|
|
i need some help, im a real noob, i want to show only 30 words and then add .... at the end (so when more then 30 words it wil be cut of with....) my problem is that i dont know how to put this code: if(strlen($source) > 30) $message = str_pad($source, 30, "...", STR_PAD_RIGHT); into this table: td width="279" align="left" valign="top" bgcolor="#BDBDBD" p class="Description"><?php echo $row_Animation['description']; ?></p /td |

![]() |
| Thread Tools | |
| Display Modes | |
| |