thenook Posted April 30, 2008 Share Posted April 30, 2008 Hello, Im trying to edit my main page contents, and i can edit plain text just fine to show new text in place of the default text.. But everytime I try to put a basic HTML table in there, the page comes up blank when viewed. Im using just the table tags, for a small table with 4 cells and some organized text and 2 miages. but cannot seem to get it inserted without breaking the page. Im placing the HTML right where the regular text goes, any suggestions on how to get this to work? N Link to comment Share on other sites More sharing options...
germ Posted April 30, 2008 Share Posted April 30, 2008 define('TEXT_MAIN', 'The basic rule for this code, is this:<br> If you have a single tick mark in the code, it <b>MUST</b> have a slash before it.<br> <br> If it doesn\'t have the slash, PHP can\'t figure out what to do, and your page won\'t show at all.<br> <br> I hope I haven\'t gone too far with this little text demo.<br> <br> If you can\'t get your text to show after reading this, just post what you\'re trying to say, I\'ll try to help.'); If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
thenook Posted April 30, 2008 Author Share Posted April 30, 2008 Wow, that fixed it, one little ' was doing the damage! Thanks !!!!!!!!!!!!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.