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 4617732
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T02:09:58+00:00 2026-05-22T02:09:58+00:00

I am writing a small database viewer.. I have a link at the bottom

  • 0

I am writing a small database viewer.. I have a link at the bottom as you can see sending an id to another page. This button works on every other browser except IE.

Any ideas?

If I click on it on IE, it does nothing.

    <?php
include_once('include/opendb.php');

$query = "SELECT id, rep, date, account, areacode, number, address1, address2, city, state, zip, fax, descmaker1, descmaker2, title, email, cvendor, cequipment, leaseexp1, leaseexp2, leaseexp3, leaseexp4, leaseexp5, leaseexp6, volume, notes FROM accounts";
$result = mysql_query($query);
$entrytotal = mysql_num_rows($result);

  echo '<div id="entrytotal">' . $entrytotal . ' Total Accounts</div>';

while($row = mysql_fetch_row($result)){
    $id = $row[0];
    $rep = $row[1];
    $date = $row[2];
    $account = $row[3];
    $areacode = $row[4];
    $number = $row[5];
    $address1 = $row[6];
    $address2 = $row[7];
    $city = $row[8];
    $descmaker1 = $row[12];
    $descmaker2 = $row[13];
    $title = $row[14];
    $email = $row[15];
    $cvendor = $row[16];
    $cequipment = $row[17];
    $leaseexp1 = $row[18];
    $leaseexp3 = $row[20];
    $volume = $row[24];

            echo '<tr>';
            echo '<td width="120" align="middle"><font color="black"><b>' . $rep . '</b></font></td>';
            echo '<td width="120" align="middle"><font color="black"><b>' . $date . '</b></font></td>';
            echo '<td width="120" align="middle"><font color="black"><b>' . $account . '</b></font></td>';
            echo '<td width="120" align="middle"><font color="black"><b>' . $address1 . '</b></font></td>';
            echo '<td width="120" align="middle"><font color="black"><b>' . $city . '</b></font></td>';
            echo '<td width="120" align="middle"><font color="black"><b>' . $descmaker1 . '</b></font></td>';
            echo '<td width="120" align="middle"><font color="black"><b>' . $descmaker2 . '</b></font></td>';
            echo '<td width="120" align="middle"><font color="black"><b>' . $title . '</b></font></td>';
            echo '<td width="120" align="middle"><font color="black"><b>' . $cvendor . '</b></font></td>';
            echo '<td width="120" align="middle"><font color="black"><b>' . $leaseexp1 . '</b></font></td>';
            echo '<td width="120" align="middle"><font color="black"><b>' . $leaseexp3 . '</b></font></td>';
            echo "<td width='120' align='middle'><a href='info.php?id=" . $id . "'><input style='font-family:Helvetica; width: 50px;' type='submit' value='Info'></a></td>";
            echo '</tr>';
}
   ?>
  • 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-05-22T02:09:58+00:00Added an answer on May 22, 2026 at 2:09 am

    You don’t really need a button without a form. you could just use a link.

    echo "<td width='120' align='middle'>
       <a href='info.php?id=" . $id . "'>Info</a>
    </td>";
    

    and if you’d like to style it, just use a span like so

      <td width='120' align='middle'>
        <a href='info.php?id=" . $id . "'>
        <span style='font-family:Helvetica; width: 50px; border:1px solid #000; padding:5px; background-color:#ccc;'>Info</span>
        </a>
      </td>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my free time I started writing a small multiplayer game with a database
I have an application where I am reading and writing small blocks of data
I am writing a small utility to copy a database from a proprietary ODBC
I'm writing a small sqlalchemy shim to export data from a MySQL database with
I'm writing a small database adapter in Python, mostly for fun. I'm trying to
I'm writing a small script to capture link clicks and save the link's URL
I have been writing a small web application in C# .NET4.0 to try and
I'm writing a small demo application in Java using Spring, that needs to have
I am writing a small music database. Learning SQL lies quite a long time
Is there anyway to have a client side small database that syncs with server

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.