PHP

PHP Strings

A string is a sequence of characters, like "Hello world!". In this chapter we will look at some commonly used functions to manipulate strings.

Read More »
PHP

PHP Data Types

Variables can store data of different types, and different data types can do different things. Such as string, Integer, Float (double), Boolean, Array and etc.

Read More »
PHP

PHP echo and print Statements

With PHP, there are two basic ways to get output: echo and print. In this tutorial we use echo or print in almost every example.

Read More »
PHP

PHP Variables

Variables are "containers" for storing information. In PHP, a variable starts with the $ sign, followed by the name of the variable

Read More »
PHP

PHP Comments

A comment in PHP code is a line that is not executed as a part of the program. Its only purpose is to be read by someone who is looking…

Read More »
PHP

how to get coupon code amount in woocommerce in php

$coupon_code = 'save10percent'; global $woocommerce; $c = new WC_Coupon($coupon_code);

Read More »
PHP

How to get tax of current post in wordpress

There is only a single recognized element for the $args array, called 'fields' and by default is set to 'all'. Other values can be 'names' or 'ids'. There are other…

Read More »
PHP

PHP Syntax

PHP Syntax: A PHP script can be placed anywhere in the document. A PHP script starts with :

Read More »
Back to top button
Close
Close

پیشنهاد ویژه!!!

برای بهره مندی از 50% تخفیف ویژه محصولات سایت و دریافت آموزش های جدید، فرم زیر را تکمیل و ثبت نمایید