Well, there are a few ways to do it. The secret is to know a little bit
of HTML. Another poster suggested using the <br> (line break) tag. The
paragraph tag would also work nicely:
<?php
echo "<p>IP ADDRESS</p>";
echo "<p>$remote_admin</p>";
?>
Or you could start to get fancy by doing it with a table:
<?php
echo "<table>";
echo "<tr><td>IP ADDRESS</td></tr>";
echo "<tr><td>$remote_admin</td></tr>";
echo "</table>";
?>
When I'm writing code such as the above, though, I usually do something
more like this:
<p>
IP ADDRESS<br>
<?php echo $remote_admin; ?>
</p>
Hope that helps!
Matt
On Sun, Jul 22, 2001 at 05:46:30PM -0700, Kyle Smith wrote:
> Ok this may sound really pathetic but how do i add a new line (like a space) to a
>code like this
>
> <?php
> echo "IP ADDRESS";
>
> echo $remote_admin;
> ?>
>
> cause when i try the code out it looks like
>
> IPADDRESS127.0.0.1
>
> and i want it to look like
>
> IP ADDRESS
> 127.0.0.1
>
> or
>
> IP ADDRESS
>
> 127.0.0.1
>
> so what do i put in?
>
> Thanks for your time :)
--
Matt Garman, [EMAIL PROTECTED]
"I'll tip my hat to the new constitution, Take a bow for the new revolution
Smile and grin at the change all around, Pick up my guitar and play
Just like yesterday, Then I'll get on my knees and pray..."
-- Pete Townshend/The Who, "Won't Get Fooled Again"
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]