Hi, after days of figuring this out, i still have no idea of whats wrong with the code..
Hopefully you guys could help me out..
when i put this code on my home.php file, i keep getting this error :
Parse error: syntax error, unexpected $end in C:\xampp\htdocs\smartforum\home.php on line 348
this is the code that i meant :
<ul id="wall">
<?php
include('insert.php');
$test=mysql_query("SELECT*FROM wall ORDER BY id DESC");
while($row=mysql_fetch_array($test)){
echo "<li class='stbody'><div class='stimg'></div><div class='sttext'>".
$row["message"].
"<div class='below'><div class='sttime'>2 seconds ago</div>
<div class='help-toggle'>| Help |</div>
<div class='trigger_default'><a href='#'>Discuss</a></div>
<div class='toggle_container_default'>
<ul class='reply_text'>
<!--This is where i try to execute the second query
where the comment for each wall post appear--> ";
?> <?php include(get_reply.php); ?><?
echo " </ul>
<div class='block'>
<form name='disscuss_text' id='post_reply' id='post_reply'>
<textarea rows='3' cols='87' id='discuss_text' name='discuss_text'></textarea>
<input type='submit' value='Post' name='Help' id='post-button' />
</form>
</div>
</div>
</div>
</li>";
}
?>
</ul>
help me please...
Thank You :)