Php display select result : I'm busy for a whole afternoon and I can't find the answer on my question. I tried to build a select query that I can use for the future login form where I can say that an user is activated or not. 

So As test I did the following:

    <?php
    
    $con = mysql_connect("localhost","steven","PASSWORD!","leercentrum");
    
    echo("This Works");
    
    $query = "SELECT activated FROM users WHERE username = 'steven' ";
    $result = mysql_query($con, $query);
    print_var($result);
    
    ?>

The query works on my database via SQL Workbench. 

I also attached a screenshot of my Mysql database (Table users).

  [1]: https://i.stack.imgur.com/uef3g.jpg

I hope some could help me with this issue. The only thing what I want to do in the future is an If function where I can see of the user is activated (1) or not activated (0)

Regards

Steven