Error from browser (or openserver): "mysqli_fetch_array () expects parameter 1 to be mysqli_result". It is necessary to just output from the database via php fields, do this:
$db = mysql_connect('localhost', 'root', '') or die('cant connect ot db: '. mysql_error()); $db_selected = mysql_select_db('Blog'); $result = mysql_query("SELECT * FROM 'Notes'"); do{ echo "ID - ".$myrow['id']."<br>"; echo "Note: ".$myrow['note']."<br>"; echo "date: ".$myrow['date']."<br>"; }while ($myrow = mysql_fetch_array($result, MYSQL_BOTH)); I read php.net and google, went through various variations of mysql_fetch and its parameters, but all is in vain, there is a warning on the site that the extension is outdated and from version 7 php is not supported, but I have an error about the parameter;