php - Limit the number of letter returned from a DB recordset field -


i have following string asp vb string:

<%= left ((rsmyrecordset.fields.item("text").value), 75)%> 

this returns 75 characturers left

how do same thing in php, current string is:

<?php echo $row_rsmyrecordset['text']; ?> 

many thanks

look substr in php manual


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -