Category : twitter-bootstrap

I’m trying to hide/show div on link click. But it’s not working properly on my site. I’m using this code on a custom WordPress template. Following is my HTML <div class="col-md-4"> <a id="link-edit-form" href="#" >PROFILE INFO</a><br/> <a id="link-reset-form" href="#">PASSWORD RESET</a><br/> <a id="link-logout-form" href="#">LOG OUT</a> </div> <div class="col-md-8"> <div class="paragraph-styles"> <div id="edit-form-settings"> <?php echo do_shortcode( ‘[wppb-edit-profile ..

Read more

instead of creating four card it create new row every time. I use column small 3, i want 4 card listed in one row and fetch data from database as in ecommerce websites <div class="row container bg-light"> <?php while ($result=mysqli_fetch_assoc($link)) { echo "<a href=’com.php?id=$result[id]’ style=’text-decoration:none;’>"; echo "<div class=’col-sm-3 bg-white border rounded shadow’>"; echo "<div class=’bg- ..

Read more

I’m trying to build a mini blog system for a project I’m doing. I have a column in my Mysql database called "status", now I want to be able to update that column using a bootstrap toggle. My code is as follows <input type="checkbox" checked data-toggle="toggle" data-on="published" data-off="Draft" data-onstyle="success" data-offstyle="danger"> What can I do to ..

Read more

How to fetch all the record from my database using php mysql in same page. Important: Code is working but i don’t no why only last record showing. Why not showing other record. Anyone help me to fetch all the record using PHP. Here is the Code. https://github.com/imayushshrivastava/mytutora.com/blob/main/data-fetch-using-php.php Exmaple: Like Twitter: User Post – Comment ..

Read more

Important: Code is working but i don’t no why only last record showing. Why not showing other record. Anyone help me to fetch all the record using PHP. Here is the Code. https://github.com/imayushshrivastava/mytutora.com/blob/main/data-fetch-using-php.php PHP Code: <?php { $query = "SELECT * FROM Table1 WHERE status=’1′ ORDER BY 1 DESC"; $run = mysqli_query($mysqli, $query); while ($row ..

Read more