v5:session:reference:adodb_unserialize
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| v5:session:reference:adodb_unserialize [2016/05/21 15:25] – created mnewnham | v5:session:reference:adodb_unserialize [2018/07/01 22:04] (current) – typo in class name peterdd | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| ~~NOTOC~~ | ~~NOTOC~~ | ||
| <WRAP right box> | <WRAP right box> | ||
| ==Syntax== | ==Syntax== | ||
| - | | + | |
| - | | + | |
| ) | ) | ||
| </ | </ | ||
| ===== Description ======= | ===== Description ======= | ||
| - | The **static** | + | The method |
| - | =====Use As A Getter===== | ||
| - | When used without parameters it returns the currently set value | ||
| =====Usage===== | =====Usage===== | ||
| <code php> | <code php> | ||
| Line 19: | Line 17: | ||
| include_once " | include_once " | ||
| - | ADODB_session:: | + | ADODB_Session:: |
| - | ADOdb_session:: | + | |
| + | $_SESSION[' | ||
| + | $_SESSION[' | ||
| + | $_SESSION[' | ||
| + | |||
| + | $SQL = " | ||
| + | |||
| + | $sessdata = $db-> | ||
| + | |||
| + | print_r(adodb_unserialize($sessdata)); | ||
| + | |||
| + | /* | ||
| + | * Prints | ||
| + | Array( | ||
| + | key1 => ' | ||
| + | key2 => Array( | ||
| + | sub1 => ' | ||
| + | sub2 => ' | ||
| + | ) | ||
| + | ) | ||
| + | */ | ||
| </ | </ | ||
v5/session/reference/adodb_unserialize.1463837143.txt.gz · Last modified: (external edit)
