query($sql)){
die ('There was an error running the query [' . $con->error . ']');
}
$count = mysqli_query($con, $sqlcount);
$row3 = mysqli_fetch_array($count);
if ($row3[0] <> 1) {
echo 'You have ' . $row3[0] . ' Funko Pops!
Click the Pop # to edit the data
';
} else {
echo 'You have ' . $row3[0] . ' Funko Pop - go buy some more, it\s lonely!
Click the Pop # to edit the data
';
}
echo '
| Pop # | Pop Name | Date Added | Pop Collection |
| ' . $row['popno'] . ' | ' . $row['popname'] . ' | ' . $row['inserteddate'] . ' | ' . $row['popcollection'] . ' |