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

Passing an array of values From VB6.0 to Oracle PL/SQL Function
Basically we are using VB6.0.

When we try to pass an array from VB6.0 to an Oracle PL/SQL

remove trailing slash from array
I have the following array which contains trailing slashes I need to remove. What is the best way to

Libraries in C++
Hi all,

I have two libraries. one is based targeted on linux platform and uses another li

Effort Estimation Template for Steady State Support
Hi Everyone,

Is there any SAP provided template/format for system change and enhancements

Different actions for different parts of a string
<?php
function dosomething($string, $else = '') {
if (empty($else))
$string

send() and recv() parameters confusion
On server Side:
int recv (Socket,Buffer, Length, Flags)
On Client Side:
int send (Soc

CHECH A STRING FOR ' " ' (DOUBLE QUOTES)
I am checking for delimiter (.!?) and if there is a " after a sentence then it should neglect a

Change image filetype on upload?
Hi,
I've got a form which uploads an image to the server.
Is it possible to change the image t

Scene graph using Direct3D?
There are several C++ scene graph based packages available for OpenGl, like say OSG,

http://w

PECL uploadprogress for php5.2
Hey, I just installed PHP5 via .htaccess on my 1and1 Shared Hosting Account.

How would I exac

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