Conditional statement to set value of html form selected attribute
- Status Completed
- Budget R100 - R210 ZAR
- Total Bids 11
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 methodGet free quotes for a project like this
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online