Conditional statement to set value of html form selected attribute

Closed

Description

I have a function that populates the form|select|option field from one MySQL table based on a corresponding field in another table...

I also want to include the select="selected" attribute based on a == operator but this does not seem to work.

please check attached files for code

[url removed, login to view] is the main page

[url removed, login to view] is where I tried to debug using a different method

Skills: Electronic Forms, HTML, MySQL, PHP, Website Design

See more: html conditional set value, conditional design, attribute, mysql select statement, table set html, select option, check attribute, html form code, html form method, form conditional html, html form table design, html debug, check website value, Method Statement, php mysql statement, operator select, mysql statement, form debug php, html page table mysql, website value check, select table html, value table, php form debug, select form select mysql, statement work website design

Project ID: #4999666

Awarded to:

phpraza

Php mysql expert here. I have 2years of experience in web development. I am ready to do this for you. Lets start

R150 ZAR in 0 days
(107 Reviews)
5.7

10 freelancers are bidding on average R185 for this job

gslogics123

Hello Sir I am ready to fix this code right away. Please check my profile for experience. Looking forward to work with you Regards Ashwin

R180 ZAR in 0 days
(245 Reviews)
7.4
netxpertindia

we will do this task now and send you files. I will start once we get this project. We have 9+ yrs exp in php and mysql.

R130 ZAR in 0 days
(93 Reviews)
6.8
phpartist

Hi, I am a professional web developer and designer with over 5 years of experience. This is a really simple task for me and I can complete it within next 2 hours Ahmar

R220 ZAR in 0 days
(87 Reviews)
6.2
dustafo

I can get this done for you right away.

R200 ZAR in 1 day
(99 Reviews)
5.7
shabirkssol

hi immediately ready to start work please message me back then i can show you our work . you really love our work. regards shabirkssol

R160 ZAR in 1 day
(20 Reviews)
4.4
topworkerbd

Sir I work in html,css (Div and table,Grid base design,responsive using twitter bootstrap )and also work in php,mysql,opencart,prestashop,zen cart,magento,wordpress and codeigniter and jquery have a more than 3 year More

R195 ZAR in 0 days
(27 Reviews)
4.3
jayprogrammer

Hi, I have 7 years of work experience in PHP and MySQL.I can solve this issue.I am available right now and and can start the work as soon bid is accepted.The work will be completed in next few hours. Thanks, Jay

R195 ZAR in 1 day
(47 Reviews)
3.7
ahmadsaadalden

Hi my frind, ur project is very easy and I can do it in the next 1H. and if ur problem is u can't make selected="selected" works. please use the php function (trim) on the both condition terms. e.g: if (trim($ More

R195 ZAR in 0 days
(6 Reviews)
2.7
gal0ra

Hi, Before hiring some one ,You should check my profile and portfolio from www.freelancer.com/u/gal0ra.html where everything is 100%. 100% on time and quality is assured. I am independent and professional developer a More

R180 ZAR in 3 days
(4 Reviews)
2.4
husnain0111

hi i understand your problem i fix it with with in 2 hour. i start your work right now and give you quality work with in your budget

R195 ZAR in 1 day
(1 Review)
0.0
HawkGuyIA

Hello, this is an easy fix that I can make for you right now. A quick job; should be 30 minutes or less based on project/problem description. I am available to you via phone/email/Skype while performinng the work and More

R190 ZAR in 1 day
(0 Reviews)
0.0