reyhanehkh
دوشنبه 30 شهریور 1388, 16:42 عصر
سلام من می خوام با استفاده از فرم از یک صفحه به صفحه دیگه برم ولی حتی در ساده ترین حالت هم درست جواب نمیده
این صفحه اولم
<html>
<head>
<title></title>
</head>
<body>
#this page name is a.php
<form action="b.php" method="get">
<input type="text" name="user">
<input type="submit" name="btn">
</form>
</body>
</html>
صفحه دومم
<html>
<head>
<title></title>
</head>
<body>
<?php
print "$user";
?>
</body>
</html>
وقتی هم اجرا می کنم میگهuser توی b.php شناخته شده نیست
این صفحه اولم
<html>
<head>
<title></title>
</head>
<body>
#this page name is a.php
<form action="b.php" method="get">
<input type="text" name="user">
<input type="submit" name="btn">
</form>
</body>
</html>
صفحه دومم
<html>
<head>
<title></title>
</head>
<body>
<?php
print "$user";
?>
</body>
</html>
وقتی هم اجرا می کنم میگهuser توی b.php شناخته شده نیست