I'm trying to select a certain row (num) in a table using a SELECT query in mySQL. What am I doing wrong in the query line?
Tried many different syntaxes but most either return False or an EOL error.
@app.route("/users/<num>", methods = ['GET'])
def users_id(num):
    mysql = connectToMySQL('users')
    query = "SELECT * FROM users WHERE id = 'num';"
    users = mysql.query_db(query)
    print(users)
    return render_template('users_show.html', id = num, users = users)
The print statement returns () but I want the whole row
 
    