Create Model and Migration in Laravel

Model In Laravel -: We know that the laravel is a php framework. Laravel work on MVC pattern.When we create any application or web page then we create a database. In the laravel framework for connecting database there are two way. First is the model and second is the normal database classes. In other words … Read more Create Model and Migration in Laravel

How to Create Component in Laravel

Introduction Laravel Component -: we know that the laravel is a php framework. When we install laravel project all the package are install automatically. Component are piece of code that is use in multiple file. for example if we are creating a header file then we give the same design in the many page’s in … Read more How to Create Component in Laravel

how to create a session in php

What is Session in php –:Cookies are stored on browser window means it stored on user side.  it is possible for a hacker to easily hack the cookie content to insert potentially harmful data in your application that might break your application. Also every time the web  browser requests a url to the server.All the … Read more how to create a session in php

how to create cookies in php

What are the  Cookies -: Cookies are small files which are stored on a user’s computer.Cookies are store on user side in the computer. They are designed to hold a modest amount of data specific to a particular client and website and can be accessed either by the web server or the client computer. Cookie’s are … Read more how to create cookies in php

how to use string in php

String in php-:  String is a sequence  characters in php like a “hello netnic “. String is  used to store and manipulate text and php supports only 256-character set and so that it does not offer native Unicode support. There are 4 ways to specify a string literal in php. Types of string in php-: In … Read more how to use string in php

how to define array in php

Array In php -:  We need to handle a large volume of data in terms of reading,processing and printing. to process such large amount of data we need a powerful data type that would facilitate efficient sorting accessing and manipulation of data items. An array is a fixed size size sequenced collection of elements of the … Read more how to define array in php

function in php

Php function -: Like any other language function are same to other function.The real power comes its from php function. Php has more then 1000 function. A function is a small code which takes one more input in the form  of parameter and does some processing and return a value. In other words we can say … Read more function in php