• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Need help with PHP

NightCrawler

Diamond Member
I've been Googling looking for TAGS that PHP uses and can't seem to find a cheat sheet for it.

I did find this — which adds a line but I was looking for how to add a space between two words and came up with nothing.

I want to line up a bumch links horizontally and want some space between them?
 
Just use this... this is stupid, it wont let me put it in there... remove the space after the ampersand.


& nbsp;
 
Originally posted by: Modeps
Just use this... this is stupid, it wont let me put it in there... remove the space after the ampersand.


& nbsp;

Doesn't work in attached code mode either, odd I thought that was unformatted text.

 
those are HTML tags PHP doesn't really use "tags" you just echo or print html code that does use tags. Why not just put all text between html tags so that you at least have well-formed html and you can do spaces without all the nbsp junk? so like <span>here is some text</span> and any spaces will show. Or is this not an HTML page?
 
Originally posted by: Firus
those are HTML tags PHP doesn't really use "tags" you just echo or print html code that does use tags. Why not just put all text between html tags so that you at least have well-formed html and you can do spaces without all the nbsp junk? so like <span>here is some text</span> and any spaces will show. Or is this not an HTML page?

This;

<a href="<?php echo get_settings('siteurl'); ?>/login.php"><Font color =#ffffff><?php _e('Login'); ?></a>
<a href="<?php echo get_settings('siteurl'); ?>/register.php"><Font color =#ffffff><?php _e('Register'); ?></a>

It kept placing the Login and Register to close together, couldn't remember & nbsp.
 
Back
Top