Post: A beginners guide to: PHP
04-21-2011, 01:35 PM #1
Josh
League Champion
(adsbygoogle = window.adsbygoogle || []).push({}); Just before you flame me; I don't think this has been posted before, or whatever, & I'm sorry if I make some mistakes as I am still currently learning it too.

Okay, so lets get started with the extremely basic things...

To underline your wordings, you need to put:
    <u>Example text</u> 

That would turn into this in a webpage:
Example text

As you can see from the example, the PHP/HTML isn't too different from BBcode.

To make your wordings in italics, you will need to put:
    <i>Example text</i>

That would turn into this in a webpage:
Example text

To make your wordings bold, it is a bit trickier, but is still extremely easy. You will need to put:
    <strong>Example text</strong>

That would turn into this in a webpage:
Example text

To size you wordings in a certain place, you would need to put:
    <font size = 3>Example text</font>

That would turn into this as a webpage:
Example text

To make your wordings move in a certain place, you would need to put:
    <marquee>Example text</marquee>

That would turn into this as a webpage:
Example text

To make your wordings have a URL in them, you would need to put:
    <a href="https://www.examplesite.com/>Example text</a>

That would turn into this as a webpage:
You must login or register to view this content.

To make your wordings have different colours in places, you would need to put:
    <font color = red>Example text</font>

This would turn into this as a webpage:
Example text

To have a line break in your webpage, you would need to add:
    <br>

At a line-break.

Well, that's about it... It took me about an hour or so to make :p

Hope this helped the people struggling, and I'll add more to this thread when I can.

Enjoy!
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked Josh for this useful post:

Mezzid
04-22-2011, 12:52 AM #11
Kombust
At least I can fight
Nice thread, you clearly put alot of effort into it :y:
Correct me if I'm wrong but aren't all of them codes HTML?
04-22-2011, 02:01 AM #12
Change the title, its misleading.
    
04-22-2011, 05:10 AM #13
ncie posts but it has to pay now
04-22-2011, 01:30 PM #14
Josh
League Champion
Originally posted by Botz View Post
Nice thread, you clearly put alot of effort into it :y:
Correct me if I'm wrong but aren't all of them codes HTML?


Yeah, I'll change it when I get back. I just got confused though :confused:
04-24-2011, 05:11 PM #15
Rath
Today Will Be Different
I was about to say that this is HTML... PHP is like $bbuserinfo[username] etc. Not to get off topic but a lot of people want this in their forums You must login or register to view this content.

All you have to do is replace it with $bbuserinfo[musername] in the navbar template. But without getting too sidetracked this should help people when they want to learn basic HTML...

---------- Post added at 12:11 PM ---------- Previous post was at 12:09 PM ----------

Originally posted by MoBaTeY View Post
Change the title, its misleading.
    [/quote]

You can't, he has to go to a Moderator.... If here were to attempt to change the title, only this would change... https://screensnapr.com/v/xxufxO.png

But a Moderator could change this https://screensnapr.com/v/uJ23w0.png which also displays on the forum/thread display.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo