I'm trying to place a user input into a database(mysql)
newplayer=raw_input('Please enter a new player name: ")
the sql commands to insert data is
sql="""INSERT INTO PLAYERS(NAME) VALUES('newplayer')"""
When i check the database it shows newplayer instead of what the user has entered.
any ideas of how i can solve this