Conditional statement to set value of html form selected attribute
This project was successfully completed by phpraza for R150 ZAR in a day.Get free quotes for a project like this
Project BudgetR100 - R210 ZAR
Completed In1 day
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
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