Question:

The function setcookie() is used to

Show Hint

setcookie() = saves small data on user's browser for future use.
Updated On: June 02, 2025
  • Enable cookie support
  • Declare cookie variables
  • Store data in cookie variables
  • Display cookie variables
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

In PHP, the setcookie() function is used to send a cookie from the server to the client's browser, storing data such as session information.
Was this answer helpful?
0
0

TS PGECET Notification