Jump to content

[SOLVED] Keeping the id number in a url


cturner

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.