Loading...

Php&mySql

  • Insertion Sort Program, Algorithm, Time Complexity using PHP

    Insertion Sort Program, Algorithm, Time Complexity using PHP

    View: 501    Download: 0   Comment: 0

    Category: Php&mySql     Fields: Other

    What is insertion sort. How it’s different from Selection sort and Bubble sort. I discussed selection sort and bubble in my previous posts. In this post i’ll discuss another sorting algorithm insertion sort.

  • Build Program to Delete a Linked List

    Build Program to Delete a Linked List

    View: 437    Download: 0   Comment: 0

    Category: Php&mySql     Fields: Other

    Write a program to delete a linked list. Given a linked list, we have to write a code to delete a linked list.

  • Call Parent Class Constructor in PHP

    Call Parent Class Constructor in PHP

    View: 431    Download: 0   Comment: 0

    Category: Php&mySql     Fields: Other

    PHP 5 introduced the concept of constructor. Constructors are magic method which call automatically when object is created. But when you define the constructor method both in Child and Parent class, it will not call until you explicitly reference...

  • PhpCompatibility for PHPCS – Are You PHP7 Ready?

    PhpCompatibility for PHPCS – Are You PHP7 Ready?

    View: 605    Download: 0   Comment: 0

    Category: Php&mySql     Fields: Other

    Sooner or later, there will come a time when you will need to migrate your projects to different PHP versions. How will you check if you’re compatible with a PHP version different to the one you’ve been developing on?

  • Difference Between Inner Join and Left Join in PHP

    Difference Between Inner Join and Left Join in PHP

    View: 498    Download: 0   Comment: 0

    Category: Php&mySql     Fields: Other

    Join are used when we need to retrieve data from multiple tables. In relational databases, We need to retrieve data from more than one tables in that case join is very helpful.

  • How to Check if a Value Exists in an Array – PHP

    How to Check if a Value Exists in an Array – PHP

    View: 479    Download: 0   Comment: 0

    Category: Php&mySql     Fields: Other

    How to check if a value exists in an array using PHP. PHP provides a couple of inbuilt method such as in_array() , array_search() through which we can check if a value exists in an array or not. Apart from using inbuilt PHP methods, we’ll write our...

  • Create  Sort a String in PHP

    Create Sort a String in PHP

    View: 469    Download: 0   Comment: 0

    Category: Php&mySql     Fields: Other

    How to sort a string in PHP. Is there any inbuilt function available in PHP to sort string directly. PHP does not provide any inbuilt function to sort a string directly.

  • Way Find First Non Repeating Character in a String

    Way Find First Non Repeating Character in a String

    View: 488    Download: 0   Comment: 0

    Category: Php&mySql     Fields: Other

    Given an input string, Write a code to find first Non-repeating character in a string. Suppose an input string is webrewrite, the first non-repeated character in this string is b.

  • Way Find First Non Repeating Character in a String

    Way Find First Non Repeating Character in a String

    View: 596    Download: 0   Comment: 0

    Category: Php&mySql     Fields: Other

    Given an input string, Write a code to find first Non-repeating character in a string. Suppose an input string is webrewrite, the first non-repeated character in this string is b.

  • Here Find Second Largest Element in an Unsorted Array

    Here Find Second Largest Element in an Unsorted Array

    View: 419    Download: 0   Comment: 0

    Category: Php&mySql     Fields: Other

    Write a Program to find the second largest element in an unsorted array. Given an array of unsorted values find the second largest element in an array.

  • How to Reverse a Number in PHP

    How to Reverse a Number in PHP

    View: 495    Download: 0   Comment: 0

    Category: Php&mySql     Fields: Other

    How to reverse a number using PHP code. This question is asked by one of our blog follower onwebrewrite facebook page. In this tutorial, We’ll learn how to reverse a number by creating our own custom method.

  • How to Mail Logging in Laravel 5.3 and Extending the Mail Driver

    How to Mail Logging in Laravel 5.3 and Extending the Mail Driver

    View: 565    Download: 0   Comment: 0

    Category: Php&mySql     Fields: Other

    This article was peer reviewed by Viraj Khatavkar. Thanks to all of SitePoint’s peer reviewers for making SitePoint content the best it can be!

  • Check Whether a Number is Palindrome or Not in PHP

    Check Whether a Number is Palindrome or Not in PHP

    View: 505    Download: 0   Comment: 0

    Category: Php&mySql     Fields: Other

    Write a program to check whether a number is palindrome or not using php code. How to solve this problem.

  • Linux Commands with Examples for Beginners in PHP

    Linux Commands with Examples for Beginners in PHP

    View: 517    Download: 0   Comment: 0

    Category: Php&mySql     Fields: Other

    In this article, you will learn some of the most used Linux commands with examples . If you are new to Linux or Ubuntu operating system then all these commands are very helpful for you.

  • Program to Generate Prime Numbers between 1 to n

    Program to Generate Prime Numbers between 1 to n

    View: 493    Download: 0   Comment: 0

    Category: Php&mySql     Fields: Other

    Write an efficient program to generate prime numbers between 1 to n. Program to print prime number between 1 to n. It is one of the most asked interview questions in interviews.

  • Dynamically Chain Scopes to Clean up SQL Queries

    Dynamically Chain Scopes to Clean up SQL Queries

    View: 465    Download: 0   Comment: 0

    Category: Php&mySql     Fields: Other

    One of the worst things that can happen to a Rails application is SQL queries becoming a huge complex conditional mess. I have come across controller actions that build query strings using a type of “chain of conditionals” method, like so:

  • Find Common Elements in Two Arrays – Intersection of two Arrays in PHP

    Find Common Elements in Two Arrays – Intersection of two Arrays in PHP

    View: 484    Download: 0   Comment: 0

    Category: Php&mySql     Fields: Other

    Given two sorted arrays, Write a code to find common elements in two arrays. In other words, we have to write a code to find the intersection of two arrays.

  • How to Call by Value & Call by Reference in PHP with Example

    How to Call by Value & Call by Reference in PHP with Example

    View: 426    Download: 0   Comment: 0

    Category: Php&mySql     Fields: Other

    What’s the difference between call by value & call by reference in PHP. This is the most important concept used in programming and sometime asked in interviews. Don’t worry if you are new to this terminology, you’ll learn this concept in this...

  • Check whether a Number is Prime or Not in PHP code

    Check whether a Number is Prime or Not in PHP code

    View: 460    Download: 0   Comment: 0

    Category: Php&mySql     Fields: Other

    Write a program to check whether a number is prime or not in PHP. We solve this problem by creating our own custom method checkPrime. This method takes number as an argument and check whether this number is prime or not.

  • Eliminate Factorial Program in PHP

    Eliminate Factorial Program in PHP

    View: 431    Download: 0   Comment: 0

    Category: Php&mySql     Fields: Other

    Write a program to print factorial of a number in PHP. In this tutorial, I’ll explain how to write a factorial program in PHP using iterative as well as recursive approach. Before solving this problem let’s understand what is factorial.

  Previous page  1 2 3, 4 ... 24 25 26  Next page
 
File suggestion for you
Loading...
File top downloads
Loading...
Loading...
Codetitle - library source code to share, download the file to the community
Copyright © 2018. All rights reserved. codetitle Develope by Vinagon .Ltd