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>";
Did you know?Explore Trending and Topic pages for more stories like this.
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

Include with Parameters
In a particular page I would like to include a file that requires $_GET parameters.

when I go

Windows 7
Windows 7 default user account control worries experts. Corporate IT departments should be pleased w

Getting Subdomain Name With PHP?
I want to grab the subdomain name with PHP so I can generate database queries.

for example my

add text and number image
hi guys ..

ok see i want the user to add their name and pick a number then click get it and i

code help - pagination
Hi all, I have this code, basically a user logs into my site and they get this page.

The pro

Warning: mysql_num_rows() supplied argument is not a valid MySQL result resource
This may be simple I just may need another pair of eyes..

When i get records back the below c

ob_ dynamic content
i was wondering about the potential to use ob to create a <div then remove it when the page

using variables in another page
I have a test database set up on localhost. I have a form that I can type a name into, hit the butto

Is there something wrong?
Hi all,

Just a quick question... can someone look at this code and see if something is wrong?

upload image name with extension using php
hi frds..

<input id="file1" type="file" name="file[]" &a

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