Saahil 0 Posted November 29, 2020 Share Posted November 29, 2020 if($a==1) {?> <div class="container-fluid"> <div class="row"> <div class="col-lg-6 col-md-offset-3"> <div class="panel panel-primary"> <div class="panel-heading "> <h2 class="panel-title text-center ">Information</h2> </div> </div> </div> </div> </div> ?>php } Can you please help to identify and correct the above code error Quote Link to post Share on other sites
Barand 1,632 Posted November 29, 2020 Share Posted November 29, 2020 The most common causes of that error are an opening { or " without a corresponding closing } or " Quote Link to post Share on other sites
jodunno 7 Posted November 29, 2020 Share Posted November 29, 2020 look closer at the last line in the code that you have posted: ?>php } try this instead: <?php } ?> Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.