传值和接受的问题
A,B,C 3个页面。A传值user,password到B
B页面接收然后连同B页面里的内容一起传到C
$user = $_POST['user'];
/*$user = getParaStr($user,50,"");*/
$passwrod = $_POST['password'];
/*$passwrod = getParaStr($passwrod,50,"");*/
然后C页面种接收A,B2个页面的值
$user = $_POST['user'];
/*$user = getParaStr($user,50,"");*/
$passwrod = $_POST['password'];
/*$passwrod = getParaStr($passwrod,50,"");*/
$rel_name = $_POST['rel_name'];
/*$rel_name = getParaStr($rel_name,50,"");*/
$sex = $_POST['sex'];
/*$sex = getHtml(getParaStr($sex,10,""));*/
然后插入数据库。
为什么最后插入数据库后除了时间是对的其他都是空值。。。。