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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T14:10:40+00:00 2026-06-10T14:10:40+00:00

EDIT: Answered by a comment, thank you! Does < form > not work within

  • 0

EDIT: Answered by a comment, thank you!

Does < form > not work within php’s print?

I’ve been working through this page, building the pieces I want it to have- my final glitch is that the submit button is not active AT ALL.

I have a page that uses jquery to hide a div that contains information submitted by the user- these are shown when the administrator clicks on the button to show the abstract.

In the div that is hidden, there are two columns- one of which has a super short form- the admin clicks on a radio button to categorize the submitted information. This is where the submit button simply isn’t working.

The form shows up, in fact, everything looks exactly as expected. I know the code otherwise works because I tried it by itself on another page- so I’m assuming there’s knowledge I do not have and cannot find.

Any advice?

<?php
 include('filethatconnectstothedatabase.php');
 $conn = new DatabaseConn();
 $query = ("
          SELECT *
          FROM abstracts
          WHERE visible=\"1\"
          ");
 $result = mysql_query($query);

 $numfields = mysql_num_fields($result);
 $data = array();
 $flist = array();

for($i=0;$i<$numfields;$i++)$flist[] = mysql_field_name($result,$i);
  $data[0] = $flist;
  while($row = mysql_fetch_assoc($result)){
  $data[] = $row;

print '

<div id="table-'.$row['abstractid'].'" class="hide">
   <div class="column1">
   <ul>
    <li>
   <span class="spantitle">Author:</span> ' . $row['abstract_author'] .'
   </li>

   <li><span class="spantitle">Applicant Type:</span> ' . $row['applicant_type'] .'
   </li>

   <li>
    <span class="spantitle">Presentation Type:</span> ' . $row['presentation_type'] .'
   </li>

   <li>
  <span class="spantitle">Affiliation:</span> ' . $row['author_affiliation'] .'
  </li>

  <li>
 <button data-hide-id="'.$row['abstractid'].'" class="read-abstract">
  Hide Abstract
 </button>
</li>

</ul>

<div class="clr"></div>

<form action="assign_abstract.php" method="post">

<fieldset>
  <span class="spantitle">Assign Session for abstract # '. $row['abstract_id'] .':</span>
  <input type="hidden" name="abstract_id" value="'. $row['abstract_id'] .'" />

  <br />
  <input type="radio" name="abstract_category" value="session1" />Session One:
  <br />
  Session One

  <br />
  <input type="radio" name="abstract_category" value="session2" />Session Two:
  <br />
  Session Two

  <br />
  <input type="radio" name="abstract_category" value="session3" />Session Three:
  <br />
  Session Three

  <br />
  <input type="radio" name="abstract_category" value="session4" />Session Four:
  <br />
  Session Four

  <br />
  <input type="radio" name="abstract_category" value="notapplicable" />Not Applicable

  <br />
  <br />
  <input type="button" name="submit" value="submit" />

  </fieldset>

  </form>
  • 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-10T14:10:41+00:00Added an answer on June 10, 2026 at 2:10 pm

    Forms work fine inside of php echo’s and prints. Did you try type submit instead of type button? Example:

    <input type="submit" name="submit" value="submit" />
    

    instead of

    <input type="button" name="submit" value="submit" />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Edit : This question has already been asked and answered, and I apparently am
This may have already been answered in another post, but I just am not
EDIT 07/14 As Bill Burgess mentionned in a comment of his answer, this question
EDIT : It turned out that this can only be done through an external
Apologies if this has been answered before (I couldn't find the answer when I
This might have been answered somewhere else if so sorry. I have an dynamic
EDIT -- Answered below, missed the angled braces. Thanks all. I have been attempting
Edit (updated question) I have a simple C program: // it is not important
EDIT: I would like to thank you all for the swift replies ^^ Sleep()
Original question has been answered. Update addresses related question raised in comments. Original post:

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.