This question already has answers here:
Closed 3 years ago.
Here is my code:
$v = $conn->query("SELECT * FROM `categories` WHERE `Link`!=''");
while($vrowi = mysql_fetch_array($v, MYSQLI_ASSOC))
{
$url = $vrowi['Link'];
$Cat = $vrowi['id'];
}
The while
loop isn't working. Can you please tell me where the mistake is? Thanks in advance!