Hello, i have a problem with a variable i use to call a statement. The statement its ok, returns data from database as wanted, i checked it on phpmyadmin. I think that the problem is on the variable. Here is the code
$select =mysqli_query($db,"SELECT * FROM table WHERE row is 'something'");
$Order = " ORDER BY table.row DESC";
$Filter = " table.row = " . $_GET['url'];
if($Filter != "") $select .= " AND " . $Filter;
$query = mysqli_query($select . $Order);
$perRow = 2;
$counter = 0;
if (mysqli_num_rows($query) > 0 )
{
echo '<tr>';
while($row=mysqli_fetch_array($query,MYSQLI_ASSOC))
{
the statements i use they are ok i checked them on phpmyadmin mysql