473,503 Members | 1,813 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to make a new line in the array

JnrJnr
88 New Member
I've tried this too trying to make a new line in the array

$t['country']="Bangladesh\n \"blah blah\"";
$t['capital']="Dhaka blah\n blah";

why does \" display double quotes but \n does not display a new line when the array is echo'd?
Jul 18 '11 #1
1 1356
JnrJnr
88 New Member
@johny10151981
Oh oh I got it...
just use <br> or <p></P> tags instead.
Thanks again
Jul 18 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

13
1718
by: Lighting_dragon | last post by:
I try to make an array of label as this. Dim ArrLabel(10) as System.Windows.Forms.Label For i =0 to 10 ArrLabel(i) = New System.Windows.Forms.Label ArrLabel(i).Left=25 ArrLabel(i).Top=25*i...
6
2691
by: Jurgen Oerlemans | last post by:
Hello, I want to make an array of filenames in a directory. I started with the following code: Dim DirInfo As IO.DirectoryInfo = New IO.DirectoryInfo("N:\queues\jurgen\") Dim FileInfo As...
12
2199
by: a | last post by:
def fn(): for i in range(l) global count count= .... how do i declare count to be global if it is an array subsequently i should access or define count as an array error:
2
6885
by: Řyvind Isaksen | last post by:
Mabye this is question is very simple, but I need to make a string-array (in a variable) with the values from a checkbox-list. THANKS :)
14
12392
by: dan | last post by:
I would like to have the preprocessor automatically generate the number of array elements requested. Each element is zero. The elements get pasted into a larger array. The other elements may be...
16
2541
by: randallc | last post by:
Hi, I need to take an input of 1D array, each item pipe delimited, and make a 2D array for column sorting.. Can anyone please help as my first ady with jscript, and haven't a clue why i get this...
2
5249
by: Chuck | last post by:
How can I make an array of command buttons (or toggle buttons) on a form and have a text box on the same form display the index of the button clicked? This works very well in VB6, but I can't...
12
2461
by: raylopez99 | last post by:
I have an array that I wish to preserve as "read only". The array holds references to variables myObjects instantiated by new that change all the time. The variables are part of a class that I...
1
5136
snehil
by: snehil | last post by:
Hey, Can any one help me with this problem.. i'ld really appreciate ne help.. wat i wanna do is.. dat i want to dynamically create objects on a way that they could be created in a loop.. so i thot...
3
2594
by: Ian Smith | last post by:
I want to create an array to store values from user input. The user input is in a while (choice=='y' || choice=='Y') loop. As long as the user keeps selecting Y/y at the end of the loop, they can...
0
7202
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
6991
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7460
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3167
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1512
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
380
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.