How to target input box that's not in html form - PHP?
<p>I'm new to PHP, so my entire perspective of how I should build something like this might be wrong, so please give tips as needed!</p>

<p>Pretty much the app should push data to the db when submit is clicked. I handle that with a form in the html and this code in PHP (let's ignore injection hacking for now...)</p>

<pre><code>if(isset($_POST['submit']))
   {
        $book = $_POST['book-num'];
...
</code></pre>

<p>The submit button is in a form like such</p>

<pre><code>&lt;div class="submission-field"&gt;
    &lt;form method="post"&gt;&lt;input class="submit-report" type="submit" name="submit" value="Submit"/&gt;&lt;/form&gt;
&lt;/div&gt;
</code></pre>

<p>The problem I'm having is how to target the numerical input box (book-num) if it's not in a form? My input box and submission button aren't anywhere near eachother so I couldn't wrap it with the same <code>&lt;form&gt;</code> tag the submit button is in. How do I handle this? </p>