Solved

how to insert new line every certain lenght

Posted on 2009-05-13
1
199 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
error while installing php56 in redhat enterprise linux 20 50
Need to remove %20 from url in get 17 36
Ajax and PHP 4 30
Checking https returns 301 21 21
Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
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…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

861 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