redgunner Posted August 27, 2010 Share Posted August 27, 2010 Hey, <a href="edit.php?id='.$row['id'].'">edit</a> I am learning PHP and I am wondering what I put after my SQL connection info so that I can create a variable $id $id = <what goes here> How do I make $id to store the unique number in this variable.. For example edit.php?id=100 how does it store this number...thanks... Quote Link to comment Share on other sites More sharing options...
litebearer Posted August 27, 2010 Share Posted August 27, 2010 It depends where the value is coming from... from a form... $id = $_POST['the_id_variable_name_from_the_form']; 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.