What is cookies? How to create cookies in php?
Answer / Jayant Singh Rawat
Cookies are small pieces of data stored on a user's computer by the web browser. They allow websites to store information about user preferences or session state between visits. To create a cookie in PHP, you can use the setcookie() function: setcookie('cookie_name', 'cookie_value', time() + (86400 * 30), '/');
| Is This Answer Correct ? | 0 Yes | 0 No |
How to find a specific value in an array?
How can we display information of a variable and readable by a human with php?
Write a program to display a table of any given number?
How to take a substring from a given string in php?
Tell me how can we define a variable accessible in functions of a php script?
How to execute an sql query? How to fetch its result?
What are the advantages of stored procedures, triggers, indexes in php?
How many types of errors in php?
How to find a substring from a given string in php?
How do you connet mysql database with php?
i'm b.com graduate and doing MCM- 1year(Master in Computer Management. i'm very interested in PHP? Please tell me some suggetion and the scope of PHP in the market. My E-mail pawan.register@gmail.com Thanks & Regards Pawan.
How does the identity operator ===compare two values in PHP?