Solved

how to insert new line every certain lenght

Posted on 2009-05-13
1
196 Views
Last Modified: 2012-05-06
$str="p4A2oD0+MGqos7VcDD0NPddXi+iZ3G2WVn5s1Ms1Tder/9RWhLKRdju+zCpt19uklrCUmh2CRFSJ2B0wpt1yG+6bQdu/V5Y61nOTdhl9TIVv4//vYff/uK";

how to make output:

$out="
p4A2oD0+MGqos7VcDD0NPddXi+iZ3G2WVn5s1M
s1Tder/9RWhLKRdju+zCpt19uklrCUmh2CRFSJ2B0
wpt1yG+6bQdu/V5Y61nOTdhl9TIVv4//vYff/uK";
0
Comment
Question by:abangbatax
1 Comment
 
LVL 12

Accepted Solution

by:
alien109 earned 30 total points
Comment Utility
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now