Jump to content

Recommended Posts

I have a block of code that displays the contents of my table for leads that i collect. I want to be able to hyperlink the "LeadID" so that when clicked, I can a page that displays that lead's info so i can then edit it if necessary. How do i make each returned "LeadID" hyperlinked so it will go to the next page? Here is my code so far that shows the table and i want to make LeadID hyperlinked to go to my next page details.php . Please help!!!

 

while($row = mysql_fetch_array($result))

{

echo "<tr>";

echo "<td>" . $row['LeadID'] . "</td>";

echo "<td>" . $row['CID'] . "</td>";

echo "<td>" . $row['Category'] . "</td>";

echo "<td>" . $row['Name'] . "</td>";

echo "<td>" . $row['Email'] . "</td>";

echo "<td>" . $row['Phone'] . "</td>";

echo "<td>" . $row['Date'] . "</td>";

echo "<td>" . $row['Time'] . "</td>";

echo "<td>" . $row['Keyword'] . "</td>";

echo "<td>" . $row['More'] . "</td>";

echo "<td>" . $row['Less'] . "</td>";

echo "<td>" . $row['Closed'] . "</td>";

echo "<td>" . $row['Revenue'] . "</td>";

echo "</tr>";

}

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.