form action doesn't use php and instead appends php filename to url -


i'm stumped. use code pattern elsewhere , works fine, i'm getting undesired behavior in instance. i've searched , found no other reference issue.

my form code:

<form method="post" id="quoteform" action="process_acceptance.php">    <table>         <tbody>         <tr><h1>contract confirmation</h1></tr>         ...         <tr>             <td><input type="hidden" name="record_number"></td>             <td><center><b><input type="submit" value="approve" /></b></center></td>         </tr>          </tbody>     </table> </form> 

the php redirects user thank page , processing (as noted earlier, code functions elsewhere, i'm including can see action isn't going black hole of sort):

<?php  // release user ignore_user_abort(true); header('connection: close'); header('content-length: 0'); header('location: confirm_acceptance.php'); flush(); ... ?> 

instead of executing php code in action= value, reloads page , appends name of php file url.

any ideas on find out what's going wrong?

you need add value hidden input..

<input type="hidden" value="myrecordnumber" name="record_number"> 

you're not sending php data work with..


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -