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

Multi-image upload problems
Lets see if I can get some help on this one. Can anyone show me what I am doing wrong here. I'm just

values not being entered into table
hi. I;ve created a form, so that when a user enters data into it, it gets added to a table in a data

Having problemswith multithreading and prime numbers
I have an assignment when I'm suppose to do the following:

Write a multithreaded Java, Pt

Is it a good practice to store user info. in sessions?
I am making a user class for my script which stores all the user information in sessions. It takes u

Connecion issue
Hi,

For some reason, I keep getting this error when trying to connect:

Warning: mysql_

Sending an SMS Message with ASP.NET
Often times it may be a requirement for your web application to send an SMS message. Such examples w

Rand() help needed
Hi all,

Can someone explain and give me a quick example of how I would go about this?

bind error during socket programming
i am kinda new to socket programming. wrote the below code for a server. but getting the bind error

isset undefined variable
Hi all,

Hope someone can point out the obvious. I've a log in script, if you dont enter a use

Embedding flash object in Else statement
This is my first major project in PHP and I'm having some trouble embedding a flash object in an Els

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