Q. Which function is used to set a cookie in PHP?
β
Correct Answer: (A)
setcookie()
Explanation: setcookie() sends a cookie to the client browser.