harsh00008 Posted July 29, 2008 Share Posted July 29, 2008 hey i want form action=reply.php?id=$id for the submit button where $id=$_GET['id'] How do i get the $id in the form action=reply.php?id="here" ??? Link to comment https://forums.phpfreaks.com/topic/117235-solved-lil-help/ Share on other sites More sharing options...
gabarab Posted July 29, 2008 Share Posted July 29, 2008 <form action=reply.php?id=<?php echo $id; ?> > Also, i think it is better if you just add a hidden value of $id as follows: <form action=reply.php> <input type="hidden" name="id" value="<?php echo $id; ?>" /> Good luck Link to comment https://forums.phpfreaks.com/topic/117235-solved-lil-help/#findComment-603047 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.