I am trying to find why admin is having problems updating various subscribers info (subscription dates). After looking through the company's many php files uploaded to the host, I found this page entitled 'subscriber_edit.php' which had this html code within:

Code:
<div class="container">
<?php include('include/header.php'); ?>
<div class="body">
    <?php include('include/menu.php'); ?>
    <div class="content">
        <h1>Edit Subscriber</h1>
        <?php if($error==1){echo $errMsg;}?>
        <form method="post" action="subscriber_edit.php">
            <input type="hidden" name="subscriberid" value="<?php echo $id; ?>" />
            <div><label>Company</label>
                <select name="companyid">
                <?php
                    if($companynum==0){
                        echo '<option>no companies</option>';
                    }else{
                        echo '<option>select company</option>';
                        while($companyrow=mysql_fetch_array($companyresult)){
                            $selected = $companyrow['id']==$companyid ? 'selected="selected"' : '';
                            echo '<option value="'.$companyrow['id'].'" '.$selected.'>'.$companyrow['company'].'</option>';
                        }
                    }
                ?>
                </select>
            </div>
            <div><label>Name</label><input type="text" name="name" value="<?php echo $name; ?>" class="text" /></div>
            <div><label>Email</label><input type="text" name="email" value="<?php echo $email; ?>" class="text" /></div>
            <div><label>Extra subscriber?</label><input name="extra" type="radio" value="0" <?php if($extra==0){echo 'checked';}?> />No<input type="radio" name="extra" value="1" <?php if($extra==1){echo 'checked';}?> />Yes</div>
            <div class="clearLeft"><label>&nbsp;</label><button type="submit">Edit Subscriber</button></div>
        </form>
    </div>
</div>
The form style does not match the form shown on the actual website. The url of the 'edit subscriber' page is www.__.com/az/admin/subscriber-update/70/352. And by looking at the 'view page source' on browser - showed this code for the form:

Code:
<form action="/az/admin/index.php?page=**subscriber-update**" method="post"   id="formSubscriber">
So it is using the 'subscriber-update' php file, rather than the 'subscriber-edit'? I found this file (subsciber-update) which is shown below:

Code:
<?php

//make sure companyid exists
$companyid = array_key_exists("companyid",$_REQUEST) ? $_REQUEST['companyid'] :            exit('no company id');

// initiate objects
$_SUBSCRIBER = new subscriber();
$_FORMSUBSCRIBER = new formSubscriber();

  // if id exists, get data
  if(array_key_exists('subscriberid',$_REQUEST)){
   $data = $_SUBSCRIBER->getByID($_REQUEST['subscriberid'],$_REQUEST['companyid']);
    $_FORMSUBSCRIBER->setFormValues($data, true);
    $h1 = "Edit Subscriber";
 }else{
$data = array("companyid"=>$companyid);
$_FORMSUBSCRIBER->setFormValues($data, true);
$h1 = "Add Subscriber";
}
?>
<h1><?= $h1; ?></h1>
<?


$_FORMSUBSCRIBER->outputHTML();
echo $_FORMSUBSCRIBER->defaultJavaScriptSetup();

?>
So I am getting confused about where to look for the error. Apologies if this is unclear. Thanks