question about \n


Posted on 16th Feb 2014 07:03 pm by admin

I was looking at some of the things you could do with php and one of the things I have tried is n.

used this way

Code: [Select]while(list($key, $val) = each($myArray)){
echo "$key => $valn";

I expect it to echo the values out on a newline but never does any time I use n I have tried r. What am I missing

No comments posted yet

Your Answer:

Login to answer
298 Like 26 Dislike
Previous forums Next forums
Other forums

NOOB needs help with upload file
The intent of this form is to create a folder for a client and upload an image into another folder '

Email/MMS to Site
Hey guys. I'm looking for a way for a user to upload images and/or text via their cell phones. It

Renaming a file that a user uploads to site?
My site allows for registered users to upload images to the site under their own gallery. Currently

Simple PHP/Java Help..
Hi,
I'm trying to build a little program to do with calculating postage. Unfortunately i haven't

have trouble in a if condition
The if below is working ok, it check when indexes, name, zipcode and state are empty.
Code: &

Multi Level Array Problem
hi all,

For example I have array like below:

$temp = array(array('north america', 'us'

Mail form doesn't send Russian/Cyrillic characters correctly?
When someone enters foreign characters (like Cyrillic text, and Japanese/Chinese probably gives the

PHP Thumbnail Creation
Ok so i use this function to create thumbnails:

Code: [Select]function createthumb($name,$fil

Handling text changed in text box control using Ajax
I need to create a web form with a text box control. When someone types text into the textbox I nee

Contents of variable not echoing
Hey guys, hopefully this is an easy one...

In this line, the variables are not echoing out. T

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash