I am converting to MySQLi. I've created a new DB and table to experiment with. My log in does work as I was able to update records in my DB.
I'm having trouble with my query though. I'm hoping I can use the same type of query as I did before with just a few changes but so far not working.
//select items from db
$items = mysqli_query ("SELECT myNo, pgN, prNm, amount, current FROM tableName")
//extract every item
while($item = mysqli_fetch_array($items))
{
?>
<!-- start -->
<?php echo ($item["myNo"]); ?><br>
<?php echo ($item["pgN"]); ?><br>
<?php echo ($item["prNm"]); ?><br>
<?php echo ($item["amount"]); ?><br>
<?php echo ($item["current"]); ?><br>
<!-- end -->
<?php
}
?>