Skip to content

Logic Bytes

Spread Your Knowledge

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

SQL

SQL

mysql – Split value from one field to two

December 5, 2017 Chandan SharmaComment on mysql – Split value from one field to two

Split value from one field to two using Mysql For Example: #Current table Field is like:: Name ———— abcd efgh ijk lmn opq asd j. …

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
CodeIgniter / Database / mysql / PHP / SQL

On delete Cascade in php

May 18, 2017 Chandan SharmaComment on On delete Cascade in php

## On Delete one main table data ,delete related others table data. ALTER TABLE Courses ADD FOREIGN KEY (CatCode) REFERENCES Categories(Code) ON DELETE CASCADE;

Read More
CodeIgniter / Database / mysql / PHP / SQL

Sql-. On delete Cascade in sql

May 17, 2017 Chandan SharmaComment on Sql-. On delete Cascade in sql

#ON DELETE CASCADE IN SQL Cascade will work when you delete something on table Courses. Any record on table BookCourses that has reference to table …

Read More
Article / mysql / PHP / SQL

Compare in SQL query using php

April 19, 2017 Chandan SharmaComment on Compare in SQL query using php

$sql = “select * from user where strcmp(\”” . $_POST[’email’] . “\”,email)=0″; $r=mysql_query($sql);

Read More
Article / CodeIgniter / PAGINATION / PHP / SQL

how to fetch field value from table in php

March 11, 2017 Chandan SharmaComment on how to fetch field value from table in php

## How to fetch a field value from database in php $r = mysql_query(“select field_name from table_name”); $value =@mysql_result($r,0,”field_name);

Read More
CodeIgniter / PHP / SQL

Join table using function

March 6, 2017 Chandan SharmaComment on Join table using function

// Join variables are assigned here:: $slct = “mg.*”; $from = $prev.”msg as mg JOIN mber as m ON m.ud = mg.fd”; $cond = “mg.td …

Read More

Posts navigation

Previous 1 2

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.