Solved

how to insert new line every certain lenght

Posted on 2009-05-13
1
197 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
ID: 24380112
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Calculate values in an array 18 32
Select from sql by results from textbox 8 26
php date - compare 4 40
Whether to use true/false, yes/no or 0/1 11 50
Consider the following scenario: You are working on a website and make something great - something that lets the server work with information submitted by your users. This could be anything, from a simple guestbook to a e-Money solution. But what…
Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

930 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

14 Experts available now in Live!

Get 1:1 Help Now