phpnewby Posted July 12, 2014 Share Posted July 12, 2014 Please help, I am trying to manipulate the output text results, which it gets from the following: // Load description list($upl_user, $upl_ip, $filestatus, $contents) = get_file_description("$current_dir/$filename",$comment_max_caracters); echo " </font><br><font face="$font" size="1" color="$normalfontcolor">$contents</font> The problem is it displays everything it receives in one long never-ending row. What I am trying to do is break it down into 4 rows with a character limit of about 30 in each row. Example: hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh should display as follows: hhhhhhhhhhhhhhhhhhhhhhh hhhhhhhhhhhhhhhhhhhhhhh hhhhhhhhhhhhhhhhhhhhhhh hhhhhhhhhhhhhhhhhhhhhhh Link to comment Share on other sites More sharing options...
niche Posted July 12, 2014 Share Posted July 12, 2014 I don't understand your equality, but it looks like you should use a foreach loop. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now