#Remove br tag from the content in php $content = HERE ALL YOUR CONTENTS; $content = str_replace(“<br />”,””,$content); $content = str_replace(“<br>”,””,$content); $content = str_replace(“<br/>”,””,$content);
Read MorePHP
How to make Panel section dynamically active in php
# Make TAb panel Active dynamically //active tab option $profile_active = “active”; $profile_paneActive = “active”; $addresses_active = “”; $addresses_paneActive = “”; $orders_active …
Read MoreExcel upload to Table
# Upload Data From Excel File To Database. #<?php Starts $error_data = “”; $success_data = “”; if(isset($_POST[“Import”])) { //First we need to make a connection …
Read MoreCheckbox property
[the_ad id=”527″]## disabled checkbox add class $(“#updt-usr-editcat-btn”).prop(“disabled”, true).addClass(“.btn-disable”); ## Disabled checkbox add css style $(“#updt-usr-editcat-btn”).prop(“disabled”, true).css(“cursor”,”not-allowed”); $(“#updt-usr-editcat-btn”).prop(“disabled”, true).css(“cursor”,”pointer”);
Read MoreSelect Checkbox value in Jquery
## we can check by using this $(“input.checkbxclass[type=checkbox]”).click(function(e){ console.log(“Selected”); }); ## we can check by using this also $(“input:checkbox.checkbxclass”).click(function(e){ console.log(“Selected”); }); Note: here, checkbxclass is …
Read MoreRead each checkbox if it is checked in jquery
## Read each check box $(“input:checkbox[class=checkbx]:checked”).each(function () { console.log(“check-box checked”); });
Read MoreMake string uppercase in jquery
## get ucfirst in jquery ## get first letter uppercase in jquery <!– Html Input box : starts –> <p><input type=”text” id=”test” name=”test”/></p> <p><input …
Read MoreFacebook login in core php
<!–Add in Header / where login –> <button class=”facebook” id=”facebook”><i class=”fa fa-facebook” aria-hidden=”true”></i>Sign in with Facebook</button> <!– Add in Header / where login –> ## …
Read MoreGet Location details using IP address
<?php $my_location_ip =’95.212.128.0′; $url = “http://ipinfo.io/{$my_location_ip}/json“; //======== Using Curl //Function : Starts ======= ##Get a web file (HTML, XHTML, XML, image, etc.) from a URL. …
Read More