SQL query select rename multiple choice in php file

Lengkap Disiarkan 5 tahun lepas Dibayar semasa penghantaran
Lengkap Dibayar semasa penghantaran

I am looking to rename multiple choice answers client side (php file) that are showing as numbers.

Example what I now have in my PHP file:

'sql_query' => "SELECT element_10,element_2,element_3,element_5,element_4,element_6,element_8,element_9 FROM ap_form",

Here's what I need

element_5 has 2 choices

Choice 1 is showing up 1 I would like it to be MA

Choice 2 is showing up 2 I would like it to be NH

element_9 has 3 choices

Choice 1 is showing up 1 I would like it to be <i class="fa fa-check" aria-hidden="true"></i>

Choice 2 is showing up 2 I would like it to be <i class="fa fa-times" aria-hidden="true"></i>

Choice 2 is showing up 3 I would like it to be <i class="fa fa-clock-o" aria-hidden="true"></i>

element_6 is a phone number I would like formatted also

it is now a 10 digit phone XXXXXXXXXX, if possible I would like it to format to XXX-XXX-XXXX

HTML JavaScript MySQL PHP SQL

ID Projek: #17612649

Tentang projek

7 cadangan Projek jarak jauh Aktif 5 tahun lepas

Dianugerahkan kepada:

abhi98041

I am a SQL expert and I can do your job. I have more than 7 years of experience in this field. I can start immediately and can complete it. Please check my reviews in https://www.freelancer.com/u/abhi98041 and please m Lagi

$30 USD dalam sehari
(233 Ulasan)
6.6

7 pekerja bebas membida secara purata $24 untuk pekerjaan ini

MrDakaration

Hi I’m an expert in this field and I can get this done for you starting right away no problem. Please let us discuss more in chat so we can get this professionally done.

$25 USD dalam sehari
(36 Ulasan)
5.4
seabdulbasit

Hello Sir I have been working on different projects on android and websites, besides these I have good experience working with Graphics, I can work professionally for you on this project. I hope you will not be disa Lagi

$25 USD dalam sehari
(8 Ulasan)
4.2
thebubbles

It seems like a small change, but may you provide the DataBase engine you are using, and php version? thank you.

$25 USD dalam sehari
(0 Ulasan)
0.0