variableName vs variable_name

What is the most common and the best way to write variable names and sql database table names?

Is it better to use variableName and tableName or variable_name and table_name?

Thank you

I think it depends on what is better you read for you.
Of course if you’re working in a team you should all come to a consensus.

I use variableName in PHP, javascript and MySQL, but in CSS I use class_name
Don’t know why I make this distinction, but it works for me :slight_smile: