I created 2 simple table. tableA and table B, both only have 1 column 'po'. I am trying to combine the 2 table together using FULL OUTER JOIN.
The error output is Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result.
So I guess pretty much my query is wrong. Appreciate any help here!
<?php
include 'db.php';
$sqlcount="SELECT DISTINCT po FROM testonly FULL OUTER JOIN testonly2 ON testonly.po=testonly2.po";
$resultcount = mysqli_query($conn,$sqlcount);
while($row = mysqli_fetch_array($resultcount)){
echo $row['po'];
}
?>