For the last couple of days I have been having an issue where my PHP code will not get the text from a form text box that has worked for 7 or 8 years. Has anyone else has this issue or is there something that may need to be running that isn't?

My PHP form is a username textbox and password textbox and submit button

this is the code that is going to the die because the username isn't being set:

```
if(isset($_SESSION['username'])) {
    $username = $_SESSION['username'];
} else {
    die('User is blank'); //$username = "";
}

```

this error is going to my error\_log

**PHP Warning: mysql\_result(): Unable to jump to row 0 on MySQL result index 4 in /home/**

I know I know... no mysqli

form html:

```
<form method="post" onsubmit="return vloginform(this);" 
action="https://www..com/php_include/processlogin.php" 
name="loginform">
<div id="pleft">
<div class="uandp">Username: </div><div class="inputbox"><input type="text" 
name="username" maxlength="30" class="buttonsboxes" style="width: 180px;" />
</div>
<div class="uandp">Password: </div><div class="inputbox"><input 
type="password" name="password" maxlength="30" class="buttonsboxes" 
style="width: 180px;" /></div>
</div>
<div id="pright">
<p><input class="buttonsboxes" type="submit" value="login" name="submit" 
id="submit" /><input class="buttonsboxes" type="reset" value="reset" 
name="reset" id="reset" /></p>
</div>

```