Portal   Forum   Members   Market   Gallery   Events

php :/

Discussion in 'Help Forum' started by 0111000001100100, May 21, 2003.

  1. 0111000001100100

    0111000001100100 Peasant

    Joined:
    Jul 24, 2001
    Messages:
    810
    Likes Received:
    0
    Market Rating:
    0
    any php guru's here, who actually write it, not nuke it...I could use some pointers in exactly how I make a column's and stuff, sorta like what Jakeman uses on the portal, I dont need members or polls or any of that fancy stuff, just layout type stuff for now, any help would be greatly appreciated.
     
  2. Jakeman

    Jakeman MSC Founder and Donator

    Joined:
    Feb 26, 2000
    Messages:
    25,761
    Likes Received:
    27
    Market Rating:
    16
    Layout is html. Logic is PHP.

    You can output html code to the screen using PHP's echo function:

    PHP:
    echo("<table width="100%" cellspacing="0" cellpadding="0" border="0">
    <tr>
    <td width="
    50%">woo!</td>
    </tr>
    </table>"
    );
     
  3. Jakeman

    Jakeman MSC Founder and Donator

    Joined:
    Feb 26, 2000
    Messages:
    25,761
    Likes Received:
    27
    Market Rating:
    16
    You can put html code into a variable and echo it in the middle of other html, like this:

    PHP:
    $variable "<p>text</p>";

    echo(
    "html code here" $variable "ending html tags");
     
  4. Jakeman

    Jakeman MSC Founder and Donator

    Joined:
    Feb 26, 2000
    Messages:
    25,761
    Likes Received:
    27
    Market Rating:
    16
    this would be the same thing:

    PHP:
    $variable "<p>text</p>";

    $variable "html code here" $variable "ending html tags";

    echo(
    $variable);
     
  5. 0111000001100100

    0111000001100100 Peasant

    Joined:
    Jul 24, 2001
    Messages:
    810
    Likes Received:
    0
    Market Rating:
    0
    woo thanks for the info!
     
  6. harleyb

    harleyb Peasant

    Joined:
    Aug 12, 2002
    Messages:
    866
    Likes Received:
    9
    Market Rating:
    0
    i consider myself a guru. you can find all my contact info in my profile, i'm happy to help out with anything if you need it.
     
  7. Jakeman

    Jakeman MSC Founder and Donator

    Joined:
    Feb 26, 2000
    Messages:
    25,761
    Likes Received:
    27
    Market Rating:
    16
    no me! i am more of a guru! :stupid2:
     
  8. cowofwar

    cowofwar Peasant

    Joined:
    Jun 14, 2000
    Messages:
    13,721
    Likes Received:
    18
    Market Rating:
    0
    harley is kewl :cool:
     
  9. Jakeman

    Jakeman MSC Founder and Donator

    Joined:
    Feb 26, 2000
    Messages:
    25,761
    Likes Received:
    27
    Market Rating:
    16
  10. cowofwar

    cowofwar Peasant

    Joined:
    Jun 14, 2000
    Messages:
    13,721
    Likes Received:
    18
    Market Rating:
    0
    You're kewl too, but in a different way. :cool:
     
  11. Beeble

    Beeble Peasant

    Joined:
    Jul 16, 2000
    Messages:
    2,699
    Likes Received:
    2
    Market Rating:
    0
    :eek:
     
  12. Kaeric

    Kaeric Peasant

    Joined:
    Apr 10, 2001
    Messages:
    1,850
    Likes Received:
    4
    Market Rating:
    0
    yea...we all know what you mean cow :hump:
     
  13. Elbereth

    Elbereth MSC Commander and Donator

    Joined:
    Jun 17, 2000
    Messages:
    3,356
    Likes Received:
    14
    Market Rating:
    0
    Keeksy's back?

    ;)
     
  14. Jakeman

    Jakeman MSC Founder and Donator

    Joined:
    Feb 26, 2000
    Messages:
    25,761
    Likes Received:
    27
    Market Rating:
    16
  15. Beeble

    Beeble Peasant

    Joined:
    Jul 16, 2000
    Messages:
    2,699
    Likes Received:
    2
    Market Rating:
    0
    Harley, I've ALWAYS wondered what your avatar was, and I was doing book work in history today and BAM! there was the full picture. I instantly recognized it.... so it's a buddhist burning himself in the street... wit hteh gas can right next to him... lol
     
  16. kraahl

    kraahl Peasant

    Joined:
    Jul 11, 2002
    Messages:
    2,332
    Likes Received:
    2
    Market Rating:
    0
    Why is it lol I don´t see anything lol worthy.
     
  17. Beeble

    Beeble Peasant

    Joined:
    Jul 16, 2000
    Messages:
    2,699
    Likes Received:
    2
    Market Rating:
    0
    His face is so serious!! I always thought it was just something photoshopped or something from a scifi movie... kind of an inside joke... to me only.... if you dont mind, get out of the inside.

    also lol worthy because of the odds that i stumbled upon it... even though it must be a famous picture.

    any way, i dont think i need to say anymore.
     
  18. kraahl

    kraahl Peasant

    Joined:
    Jul 11, 2002
    Messages:
    2,332
    Likes Received:
    2
    Market Rating:
    0
    It´s a man burning himself, no matter what it´s not "lol"
     
  19. Beeble

    Beeble Peasant

    Joined:
    Jul 16, 2000
    Messages:
    2,699
    Likes Received:
    2
    Market Rating:
    0
    He burnt himself on his own free will. And i dont care to be sad about what happened 30 years ago. "lol"
     
  20. 0111000001100100

    0111000001100100 Peasant

    Joined:
    Jul 24, 2001
    Messages:
    810
    Likes Received:
    0
    Market Rating:
    0
    back on topic...i'll take you up on that some time, i gonna need a lil help for my master plan. Thanks.
     

Hitometer: 54,591,726 since 1995