Can you post your updated code.
As lemist said, row 1 and 2 won't work. With numeric based indexing, remember arrays start at 0, so username would be $row['0'] and password would be $row['1']. OR if you're going to use associate arrays (easier to keep track of), lemist posted the code, although i'm not sure if you need 3 equal signs instead of just two. . ?
Also, what's blank? The page that displays the form, or when you hit submit? Did you add an action to your form? If not, $username doesn't mean anything to reguser. if you're using method post, $POST['username'] and $POST['password']
Cgraz