Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in

#1

Hi guys
I still get this error code over and over again in my localhost easyphp:

Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in C:\Program Files\EasyPHP-DevServer-14.1VC9\data\localweb\projects\connect.php on line 7

[php]
$base= mysqli_connect(“127.0.0.1”, “root”, “”, “nejahcom_virginia”);

$result=mysql_query(" SELECT * from itemslinks ");
while ($row=mysql_fetch_row($result))
{
echo $row[1];
}
[/php]

couldnt find solution after 4 hours trying, plz help :’(

#2

To start with, You can’t mix mysqli with non mysqli calls.

#3

Hi
sorry but I didn’t understand what to do with uploaded files and how they can help ?
I’m new in php :stuck_out_tongue: