Spixxx Posted March 17, 2006 Share Posted March 17, 2006 First off, here's a link to my code, because I dont know but it wont post the topic if I include it...I have no idea why: [a href=\"http://www.fefusion.net/spx/code.txt\" target=\"_blank\"]http://www.fefusion.net/spx/code.txt[/a]Everything works its just that when I edit the file in the second page, the...[code]echo "<input type='hidden' name='data' value='$data'>";[/code]...messes up the second page and displays random input buttons, text, etcWhat other way can I do this while still preserving the orginal $data before replaceIn() and use the old $data for the next page? Quote Link to comment Share on other sites More sharing options...
Spixxx Posted March 18, 2006 Author Share Posted March 18, 2006 My bad my server was acting up, the link should work now...If you have questions IM me at nitejag. Quote Link to comment Share on other sites More sharing options...
Spixxx Posted March 18, 2006 Author Share Posted March 18, 2006 I got help from another forum, but as of now disregard the above, I have one last question on this subjectMy huge code:[a href=\"http://www.fefusion.net/spx/code.txt\" target=\"_blank\"]http://www.fefusion.net/spx/code.txt[/a]Here's what it does, forget the bottom part, but at the top...The beggining form shows an input box and a dropdown to specify wether the file is a backup fileIf it is, then it does its own thing, and forgets the bottom part, which would be if it WASNT a backup fileIt goes to a new page, posts the backup/$filename in a textarea, and you can edit/save it.But when I click save, it doesnt save and it disregards this whole section: [code]if($submit3 == "Save"){BLAH}[/code]...and doesnt save or echo $filename Updated, just goes back to the first form, which was if(!$submit1){}I know its long and everything but it would be greatly appreciated if someone would tell me what I did wrong...probably some small mistake grr...Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.