mysqli_fetch_array print the array result but you are fetch result using string element. you need to change this
$Result=mysqli_query($con, “SELECT * FROM TABLE”)
while($row = mysqli_fetch_array($Result))
{
$name = $row [1] ;
$project_name = $row [2] ;
$p_hours = $row [3] ;
}
To replace it.
$Result=mysqli_query($con, “SELECT * FROM TABLE”)
while($row = mysqli_fetch_array($Result))
{
$name = $row [’name’] ;
$project_name = $row [’project_name’] ;
$p_hours = $row [’Hours’] ;
}
Question and answer is powered by AnsPress.io