Advertisement

12.15.2007 at 10:55PM PST, ID: 23026165
[x]
Attachment Details

Formating text

Asked by redcelltech in PHP and Databases, PHP Scripting Language

Tags: PHP

I am trying to change the layout of the following text.

12157 W Linebaugh Avenue, #122  
TampaFlorida33626  
USA  

Notice the city,state,zip line. Here is the code that is driving it.

 <td valign="top">
                                        <?php
                                        echo $contact->suburb;
                                        echo $contact->state;
                                        echo $contact->postcode;
                                        ?>
</td>

I would like it to read correctly as follows:

12157 W Linebaugh Avenue, #122  
Tampa, Florida 33626  
USA

I am just beginning with programming and this is over my head.Start Free Trial
[+][-]12.16.2007 at 12:00AM PST, ID: 20479991

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: PHP and Databases, PHP Scripting Language
Tags: PHP
Sign Up Now!
Solution Provided By: ryancys
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628