acegames Posted June 22, 2007 Share Posted June 22, 2007 Sorry for my first post being a request for help I have a simple database that lists files and the url is sent encoded I need to use the decoded url parameters as a query with my mysql database $unencodedP = urldecode($_REQUEST['p']); echo "<a href='page.php?$unencodedP'>Decoded Url</a><br/>"; This displays the decoded url and when i click it the results are displayed from the mysql database but i want to skip having to click it and submit the decoded url to the database Or is there a way to load the page with the decoded url and not the encoded one I really hope someone can help me with this as I am really new to php Dave Quote Link to comment https://forums.phpfreaks.com/topic/56722-url-decode-to-mysql-query/ Share on other sites More sharing options...
effigy Posted June 22, 2007 Share Posted June 22, 2007 header (Location:). Quote Link to comment https://forums.phpfreaks.com/topic/56722-url-decode-to-mysql-query/#findComment-280144 Share on other sites More sharing options...
acegames Posted June 22, 2007 Author Share Posted June 22, 2007 Thanks so much for that , now fixed thankyou for your help Quote Link to comment https://forums.phpfreaks.com/topic/56722-url-decode-to-mysql-query/#findComment-280192 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.