In this article, you will learn How to use condition Statements in PHP <?php $a = 15; $b = 20; $c = 30; if($a > $b) { if($a > $c) { echo $a.' is greater'; } else { echo $c.' is greater'; } } elseif ($b > $c) { echo $b.' is greater'; } else { […]
In this article, you will learn How to Create Cookies in PHP.on Browser A Cookie is used to identify any user. With the help of the PHP, you can retrieve and create the cookie. Syntax:- setcookie(name, value, expire, path, domain, secure, httponly); Create or Retrieve Cookies in PHP Example:- <?php $cookie_name = "user"; $cookie_value = […]