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

convert pps to wsf with php'how?
hi
i want to convert with php
PowerPoint file to swf file(flash)
how please?
thank!!!

convert PHP array to Javascript array
I have a page that gets a request sent from AJAX, and I am trying to convert a PHP array to a javasc

Protecting forms
Alright, I want to protect some forms of mine from SQL Injections, because I had someone earlier spa

problem with refreshing
in my site, i have an index page, it has a main div. this main div's content is changing according t

IDOC error
Hi, When i send IDOC from ECC system to MII there is no problem ECC side, i says message sent succe

tell csv import script to ignore blank rows?
Hi i have the below script but i get an error if a row is blank ie a return in the csv file at the e

Problem with passing variables
I'm not really a php programmer so I'm really struggling with this issue.

I have a banner s

GET vs SUBMIT Button to show sections on one index.php page?
Just curious if one of these ways is better (i.e. more efficient) than the other.

I have a

what business processes?
Hi,

A general question. What business processes (like OTC - Order to Cach, P2P, R2R etc)

PHP MySQL and DATE
Hi everyone

I have a databse and in one of the columns I have date values such as 2009-March-

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