I have MySQL database like this.
id........username
1 .......rap
2 .......dafy
3 .......kay
I want to make them like thies
username-id,username-id,use...
for ex.
rap-1,dafy-2,kay-3
the code should use the param to prevent the sql injection, but i have no idea how to write code.