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 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:). 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 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
Archived
This topic is now archived and is closed to further replies.