Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if (isset($_SESSION['email'])) : ?>
- <p>Welcome you are logged in as: <strong><?php echo $_SESSION['email']; ?></strong></p>```
- the 'email' needs passing across from the code above 'index.php' to the code below 'reviews.php'
- ```<p>
- <input name="product_id" value="<?php echo "$var" ?>" readonly> <!-- get value from previous page-->
- <input name="track_name" value="<?php echo "$var_value" ?>" readonly> <!-- get value from previous page-->
- <input name="track_name" value="<?php echo "EMAIL_HERE" ?>" readonly> <!-- get value from previous page-->
- <!-- get value from previous page-->
- <input type="Submit" name="Submit" value="Submit"></p> ```
- As this is an assignment I can only use PHP MYSQL HTML CSS
- I would like the user name (email) to be echo out in a table as $var and $var_value is, they should then all print out beside each other in a form
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement