Search found 3 matches

by syareez
Fri Oct 07, 2011 2:32 am
Forum: PHP - Code
Topic: Undefined variable error..
Replies: 1
Views: 162

Undefined variable error..

I change ' to " still coming up an error..... Or I have mistyped..?? $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>';
by syareez
Fri Sep 16, 2011 8:32 am
Forum: PHP - Code
Topic: T_ELSE error
Replies: 2
Views: 617

Re: T_ELSE error

Your nesting is pretty messed up. You've got something that looks like this: while if while while if else else Keeping your code properly indented would have allowed you to spot that right away. Yeah man...its nasting.... i'm trying many times to solve it like putting this } close syntax ....and mu...
by syareez
Fri Sep 16, 2011 7:46 am
Forum: PHP - Code
Topic: T_ELSE error
Replies: 2
Views: 617

T_ELSE error

I'm so puzzled about this code... :?: $sql_blabs = mysql_query("SELECT id, mem_id, the_blab, blab_date, blab_type, device FROM blabbing WHERE mem_id='$id' ORDER BY blab_date DESC LIMIT 30"); while($row = mysql_fetch_array($sql_blabs)){ $blabid = $row["id"]; $sql_comments= mysql_q...