alligning php text within html

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
synchro
Forum Newbie
Posts: 4
Joined: Thu Feb 07, 2008 2:18 pm

alligning php text within html

Post by synchro »

hi guys
i got a php and its embedded in some html webpage, i need to get the following text in the right position in the html page.

i want it in the middle , if u know what i mean, within the surrounds
here's a link to a pic of what i want:

Image
thanks guys
ed
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: alligning php text within html

Post by Christopher »

Just move the <?php echo "..."; ?> to the place in the HTML where you want in to display. You an embed as many PHP blocks as you want in the HTML.
(#10850)
Post Reply