To create a cookie, we use the `setcookie()` function in PHP. The syntax for creating a cookie is as follows:
```php
setcookie(name, value, expire, path, domain, secure, httponly);
```
In this case, we want to create three cookies, so we will call the
Show more…