Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

Not all PHP script results showing in WordPress

so I am working on a WordPress plugin but when I run the script via this

<form method="post">
    <input type="submit" name="Scan" value="Scan">
</form>


<?php
if (isset($_POST['Scan'])) {
    include '../wp-content/plugins/scanner/inc/filearray.php';
}

on localhost it will display all result from the script.

but when I run it in wordpress it only shows 1 result instead of all results

how can I get it to show all results wordpress aswell?

Comments