brianjmoser Posted May 16, 2011 Share Posted May 16, 2011 What I have been attempting to do with no luck is utilize <?php echo $row_DetailRS1['NSN']; ?> as a hyperlink. The Hyperlink will point to another website http://www.logisticsinformationservice.dla.mil/webflis/pub/pub_search.aspx?niin=+++++++++++++ The 13 + signs would be populated with the 13 digit that is returned from <?php $info=$row_DetailRS1['NSN']; ?> Below is the complete code as it stands how. Any assistance with making this work is greatly appreciated. <A HERF="http://www.logisticsinformationservice.dla.mil/webflis/pub/pub_search.aspx?niin=<?php $info=$row_DetailRS1['NSN']; ?>"><?php echo $row_DetailRS1['NSN']; ?></A> One additional question. If I want a new page to open when the hyperlink is clicked would I add &newpage=1 to the end of the URL? Quote Link to comment Share on other sites More sharing options...
dragon_sa Posted May 16, 2011 Share Posted May 16, 2011 <?php $info=$row_DetailRS1['NSN']; ?> <a href="http://www.logisticsinformationservice.dla.mil/webflis/pub/pub_search.aspx?niin=<?php echo $info; ?>" target="_blank"><?php echo $info; ?></a> new page is created by the target="_blank" Quote Link to comment Share on other sites More sharing options...
brianjmoser Posted May 16, 2011 Author Share Posted May 16, 2011 That worked great! Thank you very much for the help. 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.