I need to limit the display size of a certain column in a table, when reading multiple rows from the database.
The piece of code where it should happen:
while($row = mysql_fetch_array($result)) {
echo "<td>$row[name]<td>\n";}
I want $row[name] to be delimited to the first 10 characters.