see your using a little protection for sql injection. good deal. ok you are setting the label to store id. will you try changing your storeid part of the form to this:
<form action="sox.php" method="post">
<label for="store_id" style="font-size: 14px; margin-top: 10px; font-weight: bold; font-variant: small-caps;">Store ID:</label>
<input type="text" name="store_id" value="" maxlength="30" style="width:49.6%; font-size: 30px;"<br />
<input type="submit" style="width:90px; height: 35px; margin-left: 260px; -moz-border-radius: 10px;" name="submit" value="get_info">
</form>
this is going to take the text the user enters and set this as store_id. on your other page you can simply do this to pull that over.
<?php
if(isset($_POST['get_info'])){
$storeid = $_POST['store_id'];
//complete your code
or you can keep it the same and just change the textfield name to name="store_id".