Max45 Posted April 9, 2020 Share Posted April 9, 2020 I am trying to add a bootstrap class to php echo in mysql query but it doesn't work Here the code that I using $result = $conn->query($sql); echo ""; echo " New Users "; echo " "; echo ""; Any ides ? Quote Link to comment Share on other sites More sharing options...
Barand Posted April 9, 2020 Share Posted April 9, 2020 Puzzled - what it is it supposed to do? It doesn't reference anything from the query nor does it reference any classes. Quote Link to comment Share on other sites More sharing options...
Max45 Posted April 9, 2020 Author Share Posted April 9, 2020 (edited) 46 minutes ago, Barand said: Puzzled - what it is it supposed to do? It doesn't reference anything from the query nor does it reference any classes. I am Trying to put my php echo into bootstrap div like this $result = $conn->query($sql); <div class="alert-success"> echo " <tr> <th>New Users</th> </tr> "; echo "<br />" </div>; Edited April 9, 2020 by Max45 Quote Link to comment Share on other sites More sharing options...
requinix Posted April 9, 2020 Share Posted April 9, 2020 You should spend some time learning about... well, the basics. Then you should be able to see what's wrong with what you're trying and know what the correct syntax is. 1 Quote Link to comment Share on other sites More sharing options...
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.