Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

pass value

  1. J

    PHP Can't pass a value through session

    If I pass the string trough session it perfectly works <?php session_start(); $_SESSION["firstname"] = "Peter"; $_SESSION["lastname"] = "Parker"; ?> <?php session_start(); echo 'Hi, ' . $_SESSION["firstname"] . ' ' . $_SESSION["lastname"]; ?> But if I pass a value inserted into the form...
Back
Top Bottom