Results 1 to 8 of 8

Thread: URGENT!!!! PHP Guestbook..... PLEEZ HELP!

  1. #1

    URGENT!!!! PHP Guestbook..... PLEEZ HELP!

    URGENT AS ALWAYS, lol

    Hi yall!

    matt has been my PHP idol..... but if anyone can help that would be great!

    i have a php guestbook, just very roughly set up to see if it would work. and it does work

    BUT, I want to know how i can make it look better!!! after you input you info, the look of the guestbook is line for line... no spacing between entries!
    heres the link http://www.komputaskoografix.com/index.php u dont have to fill out the form, just click the "view guestbook" link!

    here an example of how i would want the guestbook to be laid out
    http://users.smartgb.com/g/g.php?a=s&i=g12-00897-9d NOT THOSE COLORS, but i mean the boxes surrounding the text.

    let me know if u want me to post the code.

    THANKS!

  2. #2

  3. #3
    Programming Ninja mkeefe's Avatar
    Join Date
    Feb 2003
    Location
    Boston
    Posts
    7,794
    So you want to display the comments in a box?

    Well if so let's try this.

    HTML Code
    Code:
    <!-- Start Entry -->
    <div class="entry-wrap">
    	<div class="entry-info">
    		<div class="entry-number"><strong>7</strong></div>
    		<div class="entry-date">Date: <strong>7/24/2006, 5:09 am</strong></div>
    		<div class="entry-poster">Posted By: <strong>Big Red Spyda</strong></div>
    	</div>
    	<div class="entry-meat">
    		whose dat creepn up the goleywhack tree? 
      </div>
    </div>
    <!-- End Entry -->
    and here is some CSS for style
    Code:
    <style type="text/css">
    <!--
    
    div.entry-wrap { 
    	background-color: #eee;
    	width: 300px;
    	padding: 5px;
    	border: 1px solid #ccc;
    	font: 12px verdana, arial, helvetica, "times new roman";
    	display: block;
    	clear: both;
    	margin-bottom: 10px;
    }
    
    div.entry-info {
    	background-color: #ccc;
    	padding: 5px;
    	font-size: 90%;
    }
    
    div.entry-number {
    	color: #999;
    	float: right;
    }
    
    div.entry-meat {
    	padding: 5px;
    }
    
    // -->
    </style>
    Let me know if you have any questions.

    Matt

  4. #4
    my php hero!

    im not sure where i could put that piece of php without mesin it up......

    where should i put it? or does it matter?

  5. #5
    well i see its not php, LOL

    do i put this in the html document???

  6. #6

  7. #7
    MATT MATT ???????

  8. #8
    im havin a tough time here

    i cant edit the entries in the guestbook

    and people who post cant post HTML in it....

    can anyone help me here?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •