Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 24
  1. #1
    Senior Member Arunan's Avatar
    Join Date
    Jan 2003
    Location
    Toronto, Ontario
    Posts
    139
    Member #
    478
    Thanks to Xenon from vBulletin.org there is yet another cool way you can use, it will parse all html in php including double quotes, and you won't get errors.

    For ex:
    PHP Code:
    <?php
    $mainhtml
    ='
    <table width="100%">
    <tr>
    <td>
    <font face="verdana" size="1">Hi Ho</font>
    </td>
    </tr></table>
    '
    ;
    echo(
    $mainhtml);
    ?>
    This is a really easy way for lets say single pages.
    Pros: Easy for plain html
    Cons: You cannot pass variables into the html *I havn't tested it, but I believe you cannot pass variables*
    Arunan S.
    CEO/President
    ServerLines, LLC.

  2.  

  3. #2
    Senior Member nsr81's Avatar
    Join Date
    Oct 2002
    Posts
    1,132
    Member #
    250
    Liked
    15 times
    It is nice and easy, however:

    1. You need to parse single quotes.
    2. As you said, can't put variables in single quotes.
    There and Back Again :Ogre:

  4. #3
    Senior Member Arunan's Avatar
    Join Date
    Jan 2003
    Location
    Toronto, Ontario
    Posts
    139
    Member #
    478
    Umm That would be a con
    Arunan S.
    CEO/President
    ServerLines, LLC.

  5. #4
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    If only you saw the template engine that I'm virtually done developing and you would bow down to any other form of echoing HTML It supports replacements and *drumroll* conditionals
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  6. #5
    Senior Member Arunan's Avatar
    Join Date
    Jan 2003
    Location
    Toronto, Ontario
    Posts
    139
    Member #
    478
    Can I beta-test
    I am in need to beta-test such a system
    Contact me

    AIM: noxarunan
    ICQ: 98405321
    MSN: vio_@hotmail.com
    Arunan S.
    CEO/President
    ServerLines, LLC.

  7. #6
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    A new forum has just magically appeared for you
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  8. #7
    Member DirectPixel's Avatar
    Join Date
    Mar 2002
    Posts
    90
    Member #
    33
    Originally posted by filburt1
    A new forum has just magically appeared for you
    /me raises hand as well

  9. #8
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    Done
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  10. #9
    Member
    Join Date
    Jul 2002
    Posts
    51
    Member #
    157
    can you explain this idea a little... im good at putting code through hell if needed

  11. #10
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    There's not much code to test right now.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!


Page 1 of 3 1 2 3 LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:04 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com