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

  • Home
  • SEARCH
  • 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 6671069
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:20:39+00:00 2026-05-26T03:20:39+00:00

I seem to be having a very simple problem but I can’t wrap my

  • 0

I seem to be having a very simple problem but I can’t wrap my head around the issue. Thanks in advance for any help you may have.

First, here is a description of the code:
The following snippet of code is from a user’s activity page. This snipped displays all bids that have been placed on a user’s “canvas.”

<table  width="400" align=center frame=below>

    <ul>
    <?php for ($j = 0 ; $j < $numBids ; ++$j) { $cbid= mysql_fetch_row($bids); ?>   
     <li><strong>$<?php echo "$cbid[2]"; ?>.00 </strong> by <a href="profile.html?view=<?php echo "$cbid[4]"; ?>"><?php $name=getUser($cbid[4]); echo "$name"; ?></a>
     <br/>"<?php echo "$cbid[3]"; ?>"<br/>

     <p align=CENTER>

     <!-- Message Artist-->
     <form method="post" action="messages.html?msg=<?php echo $cbid[4]; ?>" >    
    <input type="submit" name="message" value="Message Artist" > 
    </form>

    <!-- Accept Bid-->
     <form method="post" action="contract.html?bid=<?php echo "$cbid[0]"; ?>" class="login-form">                       
    <input type="submit" value="ACCEPT BID!" > 
    </form>

    </p>

     </li>                                  
    <?php   } ?>                                    
   </ul>

If $numBids = 3, The html output of this code is:

    <ul>

     <li><strong>$150.00 </strong> by <a href="profile.html?view=169&sid=d0ba8340cdb156c233baf364960ac3e9">Artist Name</a>
     <br/>"I would like to paint this in acrylic."<br/>

     <p align=CENTER>
     <!-- Message Artist-->
     <form method="post" action="messages.html?msg=151" ><input type="hidden" name="sid" value="d0ba8340cdb156c233baf364960ac3e9" />    
    <input type="submit" name="message" value="Message Artist" > 
    </form>
    <!-- Accept Bid-->
     <form method="post" action="contract.html?bid=76" class="login-form"><input type="hidden" name="sid" value="d0ba8340cdb156c233baf364960ac3e9" />                       
    <input type="submit" value="ACCEPT BID!" > 
    </form>
    </p>

     </li>                                  

     <li><strong>$150.00 </strong> by <a href="profile.html?view=169&sid=d0ba8340cdb156c233baf364960ac3e9">Artist Name</a>
     <br/>"I would like to paint this in acrylic."<br/>

     <p align=CENTER>
     <!-- Message Artist-->
     <form method="post" action="messages.html?msg=151" ><input type="hidden" name="sid" value="d0ba8340cdb156c233baf364960ac3e9" />    
    <input type="submit" name="message" value="Message Artist" > 
    </form>
    <!-- Accept Bid-->
     <form method="post" action="contract.html?bid=72" class="login-form"><input type="hidden" name="sid" value="d0ba8340cdb156c233baf364960ac3e9" />                       
    <input type="submit" value="ACCEPT BID!" > 
    </form>
    </p>

     </li>                                  

     <li><strong>$150.00 </strong> by <a href="profile.html?view=169&sid=d0ba8340cdb156c233baf364960ac3e9">Artist Name</a>
     <br/>"I would like to paint this in acrylic."<br/>

     <p align=CENTER>
     <!-- Message Artist-->
     <form method="post" action="messages.html?msg=169" ><input type="hidden" name="sid" value="d0ba8340cdb156c233baf364960ac3e9" />    
    <input type="submit" name="message" value="Message Artist" > 
    </form>
    <!-- Accept Bid-->
     <form method="post" action="contract.html?bid=70" class="login-form"><input type="hidden" name="sid" value="d0ba8340cdb156c233baf364960ac3e9" />                       
    <input type="submit" value="ACCEPT BID!" > 
    </form>
    </p>

     </li>                                  

   </ul>

A live test version of the page has been set up: http://www.canvasmatch.com/test/activity.html.


Now to the problem:

If a user clicks the “Message Artist” button, the user jumps to a messages page where the can send a message to the artist, obviously. This button works for all bids EXCEPT on the first one. If you were to click the first “Message Artist” button it would just refresh the page, incorrectly. However if you clicked the second “Message Artist” button it would jump to messages.html appropriately. If there were say 6 bids, all of the “Message Artist” buttons would work EXCEPT the first one.

The weird thing for me is that all “Accept Bid” buttons work, even the first one.

Has anybody experienced anything like this before?
Any thoughts on what I should be looking for?
Do you need the entire html file to find the problem?

I appreciate any help you can provide!

Thanks,

Jake

  • 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-26T03:20:39+00:00Added an answer on May 26, 2026 at 3:20 am

    Basically, when you inspect the element with Firebug you’ll see it’s not encapsulated within a form. Something strange is going on because the HTML actually looks fine for that particular element. The rest of the document is full of errors though, so while I can’t pinpoint it directly, I’d recommend first at least fixing the majority of the errors that can be found by doing a W3C Validation test. I can almost guarantee that it’ll work once these are fixed.

    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.canvasmatch.com%2Ftest%2Factivity.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know this is a very simple question but I seem to be having
I'm having trouble with MySQL or Python and can't seem to isolate the problem.
I am having an issue that I can't seem to figure out. Hopefully somebody
I am having a strange issue that I can't seem to resolve. Here is
I feel like this is a rather simple question, but I can't seem to
I'm having trouble wrapping my head around what should be a simple solution. I
I seem to be having a very frustrating time with an inherited class calling
Seem to be having an issue with std::auto_ptr and assignment, such that the object
I seem to be having a problem with checking for list equality. In my
Hi I seem to be having an issue trying to align an H1 tag

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.