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... Link to comment https://forums.phpfreaks.com/topic/211900-simple-question-on-variable/ 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']; Link to comment https://forums.phpfreaks.com/topic/211900-simple-question-on-variable/#findComment-1104448 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.