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?

349 Like 38 Dislike
Previous php-forum Next php-forum
Other php-forum

Warning message
I've put a website that I was doing live and I'm getting this warning message when I try to add a ne

cURL and Sessions
Ohai.

So, I'm trying to cURL a bunch of things off of a page, and put them into a session. I'

Extract text from string
Hi folks,

I have a string that looks like this:

aaaaaaaaaa:
bbbbbbbbbb (ccccccccc)

contact form - output to page and email
I have the following in my controller:

$message['name'] = htmlentities(strip_tags(trim($_POST

2 things: enter doesn't work in IE & empty form
i have this search form that works well except for 2 things.

1) on IE when i hit enter instea

i have no idea why this isn't working
Code: <?php
session_start();
include("connect.php");

error_reporting(E

imap: how to save a copy of sent emails to sent elements
Hello my friends,

I am writing an online emailing application with inbox outbox/sent elements

Please help - should be a simple fix.. driving me nuts
Everything seemed to be working fine. I have a table, it alphabetically lists a bunch of cities and

Rss feed question
Hi

My blog and my website are different. Am i able to take my rss feed
from my blog and p

Website Direction...
I recently used this code to try and make it so the page loads as http://www.domain.com/ when you ty

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