How to make prgm to make data enter by user itself??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to make prgm to make data enter by user itself???

8th Jul 2016, 12:17 PM
Anurag Shukla
Anurag Shukla - avatar
2 Answers
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 ?>
13th Jul 2016, 6:48 AM
Shabi Levi
Shabi Levi - avatar
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.
21st Jul 2016, 4:46 AM
Diego Zabot
Diego Zabot - avatar