Hi firends, i was working on a clipshare script page name view_video.php i was trying to put some smarty if else statement i am 100% sure that every if else statement is properly closed but every time smarty giving the mismatched if statement error so i just put these few lines of code in view_video.tpl {if "true" eq "true"} (if "fruit" eq "apple"} 1 {/if} {if "apple" eq "banana"} 2 {/if} {if "apple" neq "apple"} 3 {/if} {/if} as u can see that it is just a simple if statements but it still gives the error of mismatched if statement i spent 3 hrs to figure out this error either i am gone blind or i lost my mind plz help me to figure out what is the error here you can just put this few line of codes in any .tpl file and ask the smarty to display it hopefully u will also get the error i was using the smarty engine that comes with the clipshare 4 I will appreciate any help Thankx for ur time for reading these Rajneesh