Click here to Skip to main content
15,911,039 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
HTML
<div>
    <div class="form-group">
        Edit Categories:
    </div>

    
        <div class="form-group">
            
        </div>
        

    Add Categories
    </div>


What I have tried:

Please help me figure what is wrong here;
Posted
Updated 31-Jan-20 0:37am
v2

We can't tell from that - you don't show any PHP code at all, and it almost certainly is that, not the generated HTML that causes the problem.

So look at your code, and start by checking your curly brackets match: each '{' must have a matching '}' for example. Then so the same with round brackets, then with double quotes, and single quotes.
Correctly indenting your code can help a lot to make problems like this more obvious.

But we can't do any of that for you!
 
Share this answer
 
You forget to use semicolon at the end of edit categories and you also forget to write the starting PHP code.You have to write like this

<!--?php
<div-->
 <div class="form-group">
 Edit Categories;
</div>
<div class="form-group">      
</div>  
Add Categories

?>
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900