PHP Array and Sessions (Practice Coding) | Learning PHP 2023

Published: 12 March 2023
on channel: RaymondT
304
4

Hi guys! Welcome to my channel RaymondT.

PHP Array
An array is a special variable, which can hold more than one value at a time.
In PHP, there are three types of arrays:
Indexed Arrays - Arrays with a numeric index
Associative Arrays - Arrays with named keys
Multidimensional Arrays - Arrays containing one or more arrays

PHP Sessions
A session is a way to store information (in variables) to be used across multiple pages and for a longer amount of time.
Sessions are server-side files that store user information.
The session ends when the user closes the browser or logs out of the program.
A session can store an unlimited amount of data.
The data is saved in an encrypted format during sessions.
Tip: If you need a permanent storage, you may want to store the data in a file or database.


Just keep practicing and never stop learning.
Thank you for watching.


Watch video PHP Array and Sessions (Practice Coding) | Learning PHP 2023 online without registration, duration hours minute second in high quality. This video was added by user RaymondT 12 March 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 30 once and liked it people.