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

License Issue - service type user
Hi,

I would like to understand the following issue regarding sap license.
I wish to

List/Menu Box
On an edit page when you want something to select what a user has previously selected from the datab

am I using this for loop correctly
Dear buddies!

Right now I am generating a report with some details for all the dealers.

VAT
how should I deal with VAT?

if I have a product that costs £5.00 and VAT @ 17.5% (£0.87

C - Reading a file into a byte array
Hi,

I'm trying to read a file into a byte array in C. I have to use C as this is for a loadru

Where am I going wrong
Been trying to work this out for hours

I have two tables called 'Genres' and 'Films'. Genre

phpMailer not working ..........
HI,
I was playing with the phpMailer script and tried to send a smiple mail using their test scri

if php cookie set, show code...
Hi all.. I need to figure out this little snippet right quick.. seems like it should be easy enough

PHP File Upload Problem
Hi, I have written a very simple file upload script but it fails for reasons I can't explain. Hope

Relative path
I have a absolute path to an image - like so: C:/Program Files/Apache Software Foundation/Apache2.2/

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