Undefined variable error..

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
syareez
Forum Newbie
Posts: 3
Joined: Fri Sep 16, 2011 7:41 am

Undefined variable error..

Post by syareez »

I change ' to " still coming up an error..... Or I have mistyped..??

Code: Select all

$DisplayCommentList .='<div style="background-color:#f0f9fe";border-bottom:1px dashed #3A69B6; padding:5px; width:auto;"><strong>'.$comment_user.'
</strong><br/>'.$comment_txt.' <br/> ·'.$whenComment.'·</div>';
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Undefined variable error..

Post by Celauran »

It would help if you told us what the error was. The code above looks fine.
Post Reply