Category: General

General

How to buy a sound card for your personal computer?

by:

Do you want to add a sound card to your computer? Do you want to upgrade the sound card with the new one to enhance the …

GeneralPhpPHP Interview Questions

Create a chess board using for loop php

by:

In this Post we will create a chessboard pattern, an 8×8 grid of black and white squares like this: Use table width=”270px” and take 30px as …

GeneralPhpPHP Interview Questions

What is the difference between single quotes and double quotes?

by:

Single quoted strings will display things almost completely “as is.” Variables and most escape sequences will not be interpreted. Double quote strings will display a host …

GeneralOopsPhpPHP Interview Questions

What is the Scope Resolution Operator?

by:

“::” double colons is the scope operator it is used to call methods of a class that has not been instantiated. You should also understand static …

GeneralOopsPHP Interview Questions

How do you load classes in PHP?

by:

Review the “autoload” and “spl_autoload_register” function (note:you should use the later). The autoload function basically triggers a function when a class is instantiated, you can put …

GeneralOopsPhpPHP Interview Questions

What is Polymorphism?

by:

It’s simply the idea that one object can can take on many forms. So in PHP OOP one class “cars” may have two classes that extend …

GeneralOopsPhpPHP Interview Questions

In a PHP class what are the three visibility keywords of a property or method?

by:

public, private and protected. The default is public. Public -> Any class may instantiate the class and call the method or property. Protected -> Only the …

GeneralPhpPHP Interview Questions

Write a program using while loop

by:

crayon-61afd0c2ca9e6347947509/

GeneralPhpPHP Interview Questions

How to set cookies in PHP?

by:

Setting new cookie ============================= crayon-61afd0c2cab32992565333/ Getting Cookie ============================= crayon-61afd0c2cab36977689304/ Updating Cookie ============================= Deleting Cookie ============================== crayon-61afd0c2cab38750618624/

GeneralPhpPHP Interview Questions

What is the difference between Session and Cookie?

by:

The main difference between sessions and cookies is that sessions are stored on the server, and cookies are stored on the user’s computers in the text …

GeneralPhpPHP Interview Questions

How to declare an array in php?

by:

Just Follow the Below example::: crayon-61afd0c2cac63425422685-i/