devilsown Posted August 3, 2011 Share Posted August 3, 2011 Ok, here is my issue. I want to put a button on my adminsorders.php that when i click on it it will add. &action=ups_export&ups_method=GND to the url and as the page reloads it uses case to include the file to the the code. Which should in that file it just lets me download the customers info for a tracking label. Can case be used or should i be doing this a differnt way? This is all in my adminsorders.php file. echo '<a href="?tab=AdminOrders&id_order='.$order->id.'&vieworder&action=ups_export&ups_method=GND&token='.$this->token.'"> ups</a>'; /* Display customer information // ups export case 'ups_export': {include file="/ups_print_worldship_xml.php"} ; break; // ups_worldship will not return */ Link to comment Share on other sites More sharing options...
devilsown Posted August 3, 2011 Author Share Posted August 3, 2011 Any idea about how to do this. I would really apreciate it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now