How to create a cookie in PHP?
A. set_cookie(name, value, expire, path, domain);
B. cookie_set(name, value, expire, path, domain);
C. setcookie(name, value, expire, path, domain);
D. cookie(name, value, expire, path, domain);
Answer:C
How to create a cookie in PHP?
A. set_cookie(name, value, expire, path, domain); B. cookie_set(name, value, expire, path, domain); C. setcookie(name, value, expire, path, domain); D. cookie(name, value, expire, path, domain);
Explanation: The setcookie() function in PHP is used to create and retrieve cookies.