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

Did you know?Explore Trending and Topic pages for more stories like this.
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

Form Help
Here is the form:

Line number On/Off | Expand/Contract<? include("../include/sess

Backflush
I am looking for a report in SAP that would give me a list of all parts that are populated with a ba

grouping within a foreach?
hello all,

I currently have a list of products spit out from my db via a foreach loop. Right

Getting number of affected rows in SQLPLUS..
Hi everyone,
I have a shell script where i am invoking sqlplus, running a query and saving t

Echo multiple lines of html code
Hi guys,

I would like to know if there is a way to echo multiple lines of html codes.

Rounding a number queried from a database
I know that to display a rounded number you just do echo "round($number)";. But how would

Ten Operator Syntax
Hi Guys,

I can't figure out why i am getting a parse error with this basic ten op code:

Which PHP-Editor do you think is the best?
Hi everyone,
Myself Brian Anderson. For the last 2 years i have been working a

Using insert variable
need a way to inert variable data to mysql database

$acc = "212121212";
$nok =

Hits this week counter
I have a counter on my site that tracks hits, IP's, etc. into a mySQL database. It also includes the

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