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

Posting to another Site?
I have software that people install.
When they install it, is there a way to make it post their d

Convert .fdf to .pdf
I currently have a web form that uploads the form data to an .fdf file and emails it.

However

Odd or Even
Inside of a while loop I need to echo several rows of info...easy enough.

In the loop (for th

private constructor
Hello,

Can we create a constructor as private? If yes, what is the use of it? If no, why can'

Results from Db outputted twice
Hey guys.. for come reason my data is outputted twise shown in the image below and i cant figure out

Can't seem to capture a variable in a chained select
I'm *this* close to having a chained select running but for some reason it doesn't seem to be pickin

redirect standard error and assert (how to?)
How do you redirect standard error and assert?

---

(Why? I am creating an web app and

PHP mail() with images
I'm trying to get images to send along with my HTML e-mail sent through PHP mail(). I only tried vie

ALV List Display to point to another report on Double Click
Hi,

I want my ALV List Display to point to another report on Double Click on its line ite

Setting condidtions for an input box
Hi all,

I would like to set a condition in a txt box that says the number a user enters has t

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