1
I have a strange Warning in my code, when there is only one data in DB it recognizes and works well, but when I insert more than 1 data in DB it shows me the following Warning:
No index used in query/Prepared statement SELECT * FROM con_users "SELECT * FROM con_users"
To query phpmyadmin I used the following code:
<?php
include_once 'includes/settings.php';
require_once 'includes/autoloader.php';
$querys = $db->Execute("SELECT * FROM con_users");
while($ln = $db->FetchArray($querys)) {
$id = $ln['id'];
$nome = $ln['nome'];
$lastname = $ln['lastname'];
}
echo 'id: '.$id.'<br/>';
echo 'nome: '.$nome.'<br/>';
echo 'sobrenome: '.$lastname.'<br/>';?>
Whoever can help me, thank you...
Show me how you got the table
con_users
in the database– Jorge B.
is like, id int 11 not null Primary key auto increment, name varchar 255 , lastname varchar 255
– Gabriel