Help on code output

Posted on 16th Feb 2014 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?

Other forums