Skip to content

Logic Bytes

Spread Your Knowledge

  • Home
  • How To
  • PHP
    • Cakephp
    • WordPress
    • CodeIgniter
    • Laravel
  • Python
    • Django
    • Flask
  • Contact

PHP

PHP

Remove br tag from the content in php

September 14, 2017 Chandan SharmaComment on Remove br tag from the content in php

#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 More
CodeIgniter / Curl / PHP

Send Message from Website in php

September 14, 2017 Chandan SharmaComment on Send Message from Website in php

Send Message Using Bhashsms.com to user mobile phone from the website. $api_username = sms_api_username; $api_userpwd  = sms_api_pwd; $send_id = SMS_SEND_ID; $curl = “http://bhashsms.com/api/sendmsg.php”; $msg = …

Read More
CodeIgniter / PHP

How to make Panel section dynamically active in php

September 1, 2017 Chandan SharmaComment on 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 More
PHP

Excel upload to Table

August 31, 2017 Chandan SharmaComment on Excel 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 More
JavaScript / JQuery / PHP

Checkbox property

August 30, 2017 Chandan SharmaComment on Checkbox 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 More
JavaScript / JQuery / PHP

Select Checkbox value in Jquery

August 30, 2017 Chandan SharmaComment on Select 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 More
JavaScript / JQuery / PHP

Read each checkbox if it is checked in jquery

August 30, 2017 Chandan SharmaComment on Read 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 More
CodeIgniter / JavaScript / JQuery / PHP

Make string uppercase in jquery

August 3, 2017 Chandan SharmaComment on Make 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 More
Article / CodeIgniter / Facebook / PHP / Social login

Facebook login in core php

July 30, 2017 Chandan SharmaComment on Facebook 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 More
Article / CodeIgniter / PHP

Get Location details using IP address

July 28, 2017 Chandan SharmaComment on Get 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

Posts navigation

Previous 1 … 12 13 14 … 28 Next

Recent Posts

  • Python Automation Framework-PyUnit (Unittest) Framework
  • Python Automation Framework-TestProject Framework
  • Python Automation Framework-Pytest Framework
  • Python Automation Framework-Lettuce Framework
  • Python Automation Framework-Behave Framework:
  • Top Python Testing Automation Frameworks in 2024
  • Visual Studio Code Keyboard Shortcut Editor
  • Visual Studio Code Keyboard Shortcuts
  • How to Remove Sidebar from Category Pages in WordPress?
  • Best Practices for API Responses

Automation Frameworks Automation Testing Behave Framework Blogger Blogspot Cakephp Cheat Sheets Code Editor CodeIgniter Code Navigation Collaborative Coding Debugging Tools Disable Mouse Right Click Domain Extension Editor Extension Full form Facebook Facebook Video Download IDE JavaScript JQuery Lettuce Framework Microsoft Code Editor Open-Source Code Editor PHP Pytest Framework Python Python-3.x Python Automation Python Automation Frameworks Python Automation Testing Python Pytest Framework Python Testing Frameworks Python TestProject Framework Python Unittest Framework Syntax Highlighting Testing Frameworks Text Editor for Developers Visual Code Visual Code Editor Visual Studio Code Visual Studio Code Cheat Sheet VSCode VSCodeEditor WordPress

Copyright © 2026 Logic Bytes.
Powered by WordPress and PridMag.