faure Posted January 27, 2018 Share Posted January 27, 2018 In javascript there is an instruction x.add(option); I look for then same in php do you know ? In advance thanks Link to comment Share on other sites More sharing options...
dsonesuk Posted January 27, 2018 Share Posted January 27, 2018 You can either create text string of option and echo it out in the required place, or use PHP DOMdocument to create element with value and text and append much like JavaScript. I don't think there a equivalent of add(option) in PHP DOM. Link to comment Share on other sites More sharing options...
faure Posted January 28, 2018 Author Share Posted January 28, 2018 thanks you problem resolved Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now