acid.waste Posted October 22, 2010 Share Posted October 22, 2010 I'm new to PHP So sorry if this is a nooby question, But i have 3 php pages, one asks for username, pass, database and host, and then posts it on the next php page. The next PHP Page asks if all the information is correct, with hidden inputs, and the values as the PHP settings, but wrapped in <?php ?> Example: <input type="hidden" name="user" value=<?php $user; ?> /> Will the above set the value of user to the PHP Value of $user? Quote Link to comment Share on other sites More sharing options...
Vettel Posted October 22, 2010 Share Posted October 22, 2010 This is what you need to do: <input type="hidden" name="user" value="<?php echo $user; ?>" /> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.