I have a problem i can't seem to find help fixing/resolving & i hope one of you could help me![]()
The problem is well i over a LONG period of time managed to make a login manager for personal use for myself, anyways i have it to run within firefox sidebar & all works well apart from 1 small problem, when i want to modify a login i go to modify.php & then i given a list stored accounts & i simply click that account name & im givem modify.php?username=Username as the page, now this new page opens over the main page & not within the sidebar. I have pasted the code below thats relevant to the problem...
the part i have been trying to search for help & think its that part that needs to be fixed isecho '<form action="modify.php?username=';but not 100%
I hope you understand my problem & can help me fix this. Thanks
$username = $_GET['username'];
$result2 = mysql_query("SELECT * FROM `users` WHERE `username`= '".mysql_real_escape_string($_GET['username'])."'");
while($row2 = mysql_fetch_array($result2))
{
echo '<form action="modify.php?username=';
echo $_GET['username'];
echo '"';
echo 'method="POST">
Name <br><input type="text" name="name" value="' . $row2['name'] . '" /><br>
Username:<br> <input type="text" name="username" value="' . $row2['username'] . '" /> <br>
Password:<br> <input type="text" name="pwd" value="' . $row2['pwd'] . '" /> <br>
SESS id:<br> <input type="text" name="ssid" value="' . $row2['ssid'] . '" /> <br>
<input type="submit" value="Update!" />
</form> ';



Reply With Quote

Bookmarks