Skip to content

Logic Bytes

Spread Your Knowledge

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

Article

Article / CodeIgniter / PHP

Send Attachment using email

July 1, 2017 Chandan SharmaComment on Send Attachment using email

$filename = ‘myfile’; $path = ‘your path goes here’; $file = $path . “/” . $filename; $mailto = ‘mail@mail.com’; $subject = ‘Subject’; $message = ‘My …

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

On delete Cascade in php

June 29, 2017 Chandan SharmaComment on On delete Cascade in php

## ON Delete Cascade: Cascade will work when you delete something on table Courses. Any record on table BookCourses that has reference to table Courses …

Read More
Article / CodeIgniter / JavaScript / JQuery / PHP / Validation

Email Validation check in javascript

June 27, 2017 Chandan SharmaComment on Email Validation check in javascript

## Used To Validate Email In Javascript <script >   function validateEmail(email) {     var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/;     return emailReg.test( email ); …

Read More
Article

Generating child categories

June 16, 2017 Chandan SharmaComment on Generating child categories

// For Generating Array Parent & Child Wise $this->dash_model->cattest(0)); public function cattest($parent_id) { $sqlquery = ” SELECT * FROM categories where parent='” .$parent_id . “‘ …

Read More
Article / CodeIgniter / Google Map / PHP

How to show location in Google maps

June 15, 2017 Chandan SharmaComment on How to show location in Google maps

$location = “kolkata”; <div style=”width: 100%”> <iframe width=”100%” height=”480″ frameborder=”0″ scrolling=”no” marginheight=”0″ marginwidth=”0″ src=”https://maps.google.it/maps?q=<?php echo $location;?>&output=embed”></iframe> </div>

Read More
Article / PHP

How to make dynamic breadcrum using segments

June 9, 2017 Chandan SharmaComment on How to make dynamic breadcrum using segments

<?php // This function will take $_SERVER[‘REQUEST_URI’] and build a breadcrumb based on the user’s current path function getBreadcrumbs($separator = ‘ &raquo; ‘, $home = …

Read More
Article

Facebook returned credentials after login in php

June 3, 2017 Chandan SharmaComment on Facebook returned credentials after login in php

## FACEBOOK RETURN CREDENTIALS IF SUCCESFULLY LOGGED IN Facebook\GraphObject Object (     [backingDatarotected] => Array ( [name] => UserName [email] => UnserEmail [id] => …

Read More
Article

Get all child category under a category

June 3, 2017 Chandan SharmaComment on Get all child category under a category

## get all childs & their childs under a parent category //get all childs & their childs public function get_child_categories( $parent_id ){ $childtree = $this->nowbuild_child_tree($parent_id); …

Read More
Article

JQuery- Find and change first div css in php

May 18, 2017 Chandan SharmaComment on JQuery- Find and change first div css in php

## Finds <div class=”catbox”> in “#Step1” and changing the css  $(“#Step1″).find(‘div.catbox’).css(‘background-color’,”);

Read More
Article / Htaccess

Htaccess help

May 17, 2017 Chandan SharmaComment on Htaccess help

http://serverfault.com/questions/99050/how-do-you-do-wildcard-subdomains/99051 https://www.google.co.in/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=wild+card+subdomain+htaccess&*

Read More

Posts navigation

Previous 1 2 3 4 … 7 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.