Tag: php

  • PHP Classes and Objects

    PHP Classes and Objects

    Create a Course class for student that display their course code and subject enrolled from an institute. Explanation Properties: course code     => 101                        => int datatype subject             => PHP                      => string datatype Methods: GetData () showData () Solution The $this is in-built or self-referencing variable which refers to the current object Way 1: Define variable…

  • PHP OOPS Concept

    PHP OOPS Concept

    OOPS Concept with Real Life Example Objects .An object represents a particular instance of a class and it can be more than one instance of an object. Each instance of an object can hold its own relevant data. An Object is a collection of data members and associated member functions also known as methods. Class…

  • Programming Languages

    PC programming dialects permit us to offer directions to a PC in a language the PC gets it. Similarly as numerous human-based dialects exist, there are a variety of PC programming dialects that software engineers can use to speak with a PC. The bit of the language that a PC can comprehend is known as…

  • Scripting languages

    Scripting languages are a particular sort of codes that you can use to offer directions to other programming, for example, an internet browser, worker, or independent application. A significant number of the present most well known coding dialects are scripting dialects, for example, JavaScript, PHP, Ruby, Python, and a few others. As scripting dialects make…