0

how to set default session variable page loading using codeigniter

Set default session variable while page loading.

14th Mar 2019, 3:08 PM
Selva kumar M
Selva kumar M - avatar
1 Odpowiedź
+ 3
//Include this on your page and tadaa <?php // Start the session session_start(); $_SESSION['color'] = "red"; $_SESSION['name'] = "John"; ?> https://www.sololearn.com/learn/PHP/1842/
14th Mar 2019, 7:20 PM
Sudarshan Rai
Sudarshan Rai - avatar