We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3a8e27 commit e4bff61Copy full SHA for e4bff61
1 file changed
user_guide_src/source/libraries/sessions/045.php
@@ -1,9 +1,9 @@
1
<?php
2
3
-session()->setFlashdata('alerts', 'Operation success!');
+session()->setFlashdata('alerts', 'Operation successful!');
4
5
-/**
6
- * Get flash value 'Operation success!' in another controller.
+/*
+ * Get flash value 'Operation successful!' in another controller.
7
*
8
* echo session()->getFlashdata('alerts');
9
*/
@@ -12,10 +12,10 @@
12
session()->markAsTempdata('alerts');
13
14
// Or simply rewrite it directly
15
-session()->setTempdata('alerts', 'Operation success!');
+session()->setTempdata('alerts', 'Operation successful!');
16
17
18
- * Get temp value 'Operation success!' in another controller.
+ * Get temp value 'Operation successful!' in another controller.
19
20
* echo session()->getTempdata('alerts');
21
0 commit comments