Tag : mysql

I have a table with a b_mag field that contains about 13000 records which is VARCHAR but I need FLOAT because I have to sort them numerically and do other things.
The values that b_mag contains are all of the type 12.45, 9.5, 10.5 and some empty fields.
I created a new b_mag_num field of type FLOAT and ran this ..

Read more

The problem is that I’m making an electronic journal, ratings with full name are taken from the MYSQL database, and inside the code I have filtering in ascending alphabetical order. And if, let’s say, one person has a rating and after filtering he changes the position, then the rating remains where the name should have been before filtering…

Read more