Help on code output


Posted on 16th Feb 2014 07:03 pm by admin

My CODE:

Code: [Select] echo "<phone>".$line["phone"]."</phone>";
echo "<fax>".$line["fax"]."</fax>";
echo "<genemail>".$line["genemail"]."</genemail>";
echo "</item>";

I need the output to look like this. (all in one line including the spaces)

Phone: 15614524 Fax: 13456789 Email: abc@mail.com

How should the ode be amended?

No comments posted yet

Your Answer:

Login to answer
349 Like 38 Dislike
Previous forums Next forums
Other forums

setcookie and isset($_COOKIE(name)) seem very finnicky.
I'm currently playing around with a user system with login and registration. I'm trying to use cooki

displaying unknown amount of results
I am reading a directory and getting a list of folders in the directory, I want to display the folde

UDP server recvfrom() always returns -1? :(
Hello all,
I am getting a very strange error in my code :( I am writing a server application in C

generating all possible random letters
hi'

how can i randomize the letters a,b,c,d,e all possible ways, and i want to print the res

How to give the privillege for triggers?
Hi,

How to give the privillage for triggers to particular user?

Please let me

Limiting uploaded file type
Hi. First post here
I am working on a simple upload script, and I need it to limit the allowed f

server trace logs
could any one tell me from where do i get error logs in xMII??I want to check the reason for dtabase

Tree Menu
Hi guys,

Can anyone help me making a tree navigation system? I have a site where I'm allowin

Mail sending is slow on server
Why mail is taking time to be send on apache-linux server

rename the file
File.txt

Code: ***DOCUMENT***
..DN:
000044255
..CB:
..SN:
..PY:
2009
..E

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