cturner Posted January 28, 2007 Share Posted January 28, 2007 When I press the submit button the id number disappears from the url. I wondering how I can keep a id number in a url? Why does it disappear from the url? Thanks in advance.Here is some of my code that I am working with:[code=php:0]$id = mysql_real_escape_string($_GET['id']);[/code][code]<form action="<?php echo $PHP_SELF; ?>?id=<?php $id ?>" method="post" enctype="multipart/form-data" name="editpropertyForm" id="editpropertyForm">[/code] Link to comment https://forums.phpfreaks.com/topic/36022-solved-keeping-the-id-number-in-a-url/ Share on other sites More sharing options...
trq Posted January 28, 2007 Share Posted January 28, 2007 [code]<form action="<?php echo $PHP_SELF; ?>?id=<?php echo $id; ?>" method="post" enctype="multipart/form-data" name="editpropertyForm" id="editpropertyForm">[/code] Link to comment https://forums.phpfreaks.com/topic/36022-solved-keeping-the-id-number-in-a-url/#findComment-170908 Share on other sites More sharing options...
cturner Posted January 28, 2007 Author Share Posted January 28, 2007 I must have been at my computer to long, to not notice that. :) Link to comment https://forums.phpfreaks.com/topic/36022-solved-keeping-the-id-number-in-a-url/#findComment-170912 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.