Php set pic lemit in one line

before start while loop

<table>
<tr>
<?php
$n=0;

under while loop

$n++;
?>
<td> <?php echo $value; ?> </td>
<?php
if ($n%4==0){?>
</tr><tr>

<?php
}—–if of
}—–loop of

?>
after loop

</tr></table>

Php set fetch array items lemit in one line.

Note : Use this script where you want to fetch the line or items..

$string1 = $variable name;
//$string1 = ucwords($foo);
if(strlen($string1)&gt;28){echo $a=substr($string1,0,28).”&lt;br /&gt;”.$b=substr($string1,28,28).”&lt;br /&gt;”.$c=substr($string1,56,28);
}
else{echo  $string1;}

Follow

Get every new post delivered to your Inbox.