Skip to content

Logic Bytes

Spread Your Knowledge

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

Tag: CodeIgniter

PHP

Each div contains only 3 items using foreach loops in PHP

November 2, 2019November 2, 2019 Chandan SharmaComment on Each div contains only 3 items using foreach loops in PHP
Read More
CodeIgniter / General / PHP

How to change the timezone in CodeIgniter 3.1.6

October 20, 2019September 19, 2021 Chandan SharmaComment on How to change the timezone in CodeIgniter 3.1.6

date_default_timezone_set() function is used to sets the default timezone used by all date or time functions in core PHP, CodeIgniter etc. # Option-1: In case …

Read More
CodeIgniter / PHP

Download File in php or codeigniter

February 27, 2018 Chandan SharmaComment on Download File in php or codeigniter

Want to download file using php. Here is the sample code. By using it you can download the file in php. you can use it …

Read More
CodeIgniter / PHP

Download File in php

February 26, 2018 Chandan SharmaComment on Download File in php

Download File in php function. Force Download. Here, $filepath = File Full path, where the file exists. $filename = File name of the file , which …

Read More
CodeIgniter / Database / PHP

Undefined property $db in Codeigniter

February 22, 2018 Chandan SharmaComment on Undefined property $db in Codeigniter

Severity: Notice Message: Undefined property: CI::$db in codeigniter 3.16 Are you facing any notice saying Undefined property: Home::$db or something like this in your Codeigniter …

Read More
CodeIgniter / HMVC / PHP

What is Codeigniter?

February 18, 2018 Chandan SharmaComment on What is Codeigniter?

Sometimes we have simple question in mind.. Some time we heard someone asked this question.. etc. It is very simple , most of us works …

Read More
CodeIgniter / PHP

Check whether server is http or https

February 17, 2018 Chandan SharmaComment on Check whether server is http or https

# Check whether server is http or https if (!empty($_SERVER[‘HTTPS’]) && (‘on’ == $_SERVER[‘HTTPS’])) { $uri = ‘https://’; } else { $uri = ‘http://’; } …

Read More
CodeIgniter / JavaScript / JQuery / PHP

find input by name jquery in a form on submit in Javascript

February 12, 2018 Chandan SharmaComment on find input by name jquery in a form on submit in Javascript

find input by name jquery in a form on submit in Javascript:: $(“#search-form”).on(‘submit’,function(){ var dis = $(this); searchbox = dis.find(“input[name=’product_name’]”).val(); console.log(searchbox); return false; });

Read More
CodeIgniter / Database / mysql / mysqli / PHP / SQL

Altering column size in SQL Server

February 12, 2018 Chandan SharmaComment on Altering column size in SQL Server

Altering column size in SQL Server ALTER TABLE table_name ALTER COLUMN column_name datatype; LIKE:: ALTER TABLE `product` MODIFY COLUMN `updatedon` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP …

Read More
CodeIgniter / PHP

Convert stdClass object to array in PHP

February 12, 2018 Chandan SharmaComment on Convert stdClass object to array in PHP

Convert stdClass object to array in PHP The easiest way is to JSON-encode your object and then decode it back to an array: $array = …

Read More

Posts navigation

1 2 3 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 © 2025 Logic Bytes.
Powered by WordPress and PridMag.