Home  >  Article  >  php教程  >  php session 预定义数组

php session 预定义数组

WBOY
WBOYOriginal
2016-06-13 12:24:53901browse

复制代码 代码如下:


session_start();
$_SESSION['username']="zhuzhao";
?>



复制代码 代码如下:


session_start();
echo $_SESSION['username'];
?>

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:php 什么是PEAR?Next article:php 什么是PEAR?(第二篇)