Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8910471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T03:41:51+00:00 2026-06-15T03:41:51+00:00

I have put together a fairly basic database driven website using PHP, Appache, and

  • 0

I have put together a fairly basic database driven website using PHP, Appache, and PHPMyAdmin. The site allows users to upload cad detail files in two formats. Along with the file paths, they can also upload the name of the file, the related service group, as well as the detail ID.

Basically everything is working smoothly except for the fact that i cannot seem to display the search result as a link.

The attached screen shot link below shows the current result. I would like to have the “PDF” and “DWG” show as a link instead of just a file path.

enter image description here

Any help would be greatly appreciated.

$output = "";
while($row = mysqli_fetch_array($results))
{
    $output .= "<br /><b>Detail ID:</b> " . $row['id'] . "<br /><br />";
    $output .= "<b>Name:</b> " . $row['name'] . "<br /><br />";
    $output .= "<b>Service Group:</b> " . $row['service'] . "<br /><br />";
    $output .= "<b>PDF:</b> " . $row['pdf'] . "<br /><br />";
    $output .= "<b>DWG:</b> " . $row['dwg'] . "<br /><br /><hr />"; 

}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T03:41:52+00:00Added an answer on June 15, 2026 at 3:41 am
    $output = "";
    while($row = mysqli_fetch_array($results))
    {
        $output .= "<br /><b>Detail ID:</b> " . $row['id'] . "<br /><br />";
        $output .= "<b>Name:</b> " . $row['name'] . "<br /><br />";
        $output .= "<b>Service Group:</b> " . $row['service'] . "<br /><br />";
        $output .= "<b>PDF:</b> <a href='" . $row['pdf'] . "'>" . $row['pdf'] . "</a><br /><br />";
        $output .= "<b>DWG:</b> <a href='" . $row['dwg'] . "'>" . $row['dwg'] . "</a><br /><br /><hr />"; 
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have put together a fairly basic local database driven website using PHP, Appache,
I have put together a HTTP driven API using the WCF WebAPI that uses
I have put together a mobile website for us, and have the main site,
I have put together an image scroller using jquery, like this function rotateImages(whichHolder, start)
I have put together a small contacts management app in php for my personal
I have put together a menu using a md array, but I am having
I have put together an example page detailing my problem My website is going
I have put together this simple code for showing/hiding some content on click using
I have put together a very complicated search form. Using arrays I have managed
I have put together a cities database from MaxMind and it includes the lat/lng

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.