+ 1
How to make prgm to make data enter by user itself???
2 ответов
0
i not shure i understand 100%
but exmpale
page1.php like so:
<?php
session_start();
$_SESSION["username"] = "test"
/* this line yoy need take a session from sql database now i using just exmple */
$username = $_SESSION["username"];
?>
now you have session in page1
than when user get another page like
page2.php
<?php
session_start();
echo $username ;
// PUTOUT username
?>
0
you must have an html page with a form with input boxes and a submit button. the action of that form must be connected to the php page that will read the input boxes and elaborate the contents.