在Php页面中传递变量 [英] Passing Variable In Php pages

查看:112
本文介绍了在Php页面中传递变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有代码检查登录。

登录表单是login.php

i检查用户@ index.php,我读了登录.php页面变量在这里。

它的权利,,,,

然后在index.php我通过使用include(''home.php')调用页面home.php );它发生在用户是正确的人时。在这个home.php我需要login.php页面变量,即$ un;


我是怎么做到的。



问候

chel-1

i''ve the code to check the log in.
the login form is login.php
i checked the user @ index.php, i read the login .php page variable here.
its right,,,,
then on index.php i called the page home.php by using include(''home.php''); its occurs when the user is right person. on this home.php i need the login.php page variable ie $un;

how i do that.


regards
chel-1

推荐答案

un;


我是怎么做的。



问候

chel-1
un;

how i do that.


regards
chel-1


也许你想参加会议?



也许你想参加一个会议?
Maybe you want to go for a session?



no。有什么办法吗?


谢谢


问候

chel-1

no. is any way out of that?

thanks

regards
chel-1


这篇关于在Php页面中传递变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆