First of I wanna say that I'm not good in describing things especially in english so bare with me :oops:
So, I'm really lost here, I have this major problem and I'm really confused.. I'm making a guestbook in PHP and it works just fine, but what I REALLY would love to do is to have the post's wrapped inside of a css div.. And that's a big problem, because I can't write like this:
<?php
<div id=\"mydiv\">
echo \"Hey people\";
</div>
?>
If I just wrap a DIV outside of ALL the php code, then it will only come in one div.. I want it like when users submit there message in the form, there message will be stored with the rest of the comments, but in there own div's..
I dont know how to explain this, but it's only some of the php code, the actual outcome I want to wrap in a DIV.. And theres no way I can you css directly inside of php??
So, I'm really lost here, I have this major problem and I'm really confused.. I'm making a guestbook in PHP and it works just fine, but what I REALLY would love to do is to have the post's wrapped inside of a css div.. And that's a big problem, because I can't write like this:
If I just wrap a DIV outside of ALL the php code, then it will only come in one div.. I want it like when users submit there message in the form, there message will be stored with the rest of the comments, but in there own div's..
I dont know how to explain this, but it's only some of the php code, the actual outcome I want to wrap in a DIV.. And theres no way I can you css directly inside of php??
http://img252.imageshack.us/img252/2991/issueom8.jpg
Hope somebody understand's me, and can help me out here..
Thank's so far
Brian
I need the answer to this question too!
@BrianZet - How did you figure this one out?
echo "<div>";
and
echo "</div>";
surely wouldnt that put the data in a div?
or