Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 74846

How to use str_split() function for printing string character by character

$
0
0

there is a table named 'students' and I want to print all datas out, there is no difficulty in it, but for some reason I have to print 'Name' and 'Family' columns character by character in table.I know I should use str_split but don't know how to use it . thnx in advance.

this is my controller:

  $students = DB::table('students')->select('*')->get();

should be like this


Viewing all articles
Browse latest Browse all 74846

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>