Hello im trying to echo only the 50 letters, but something in my code isnt ok, can someone take a look whats wrong?
<?php
$id=18;
$result=mysql_query("select * from article where id='$id'");
$row=mysql_fetch_array($result);
$row = substr($row, 0,50);
?>
<?php echo $row['info_en'];
?>
There is logical error in the code, Use the below code