mickeymouse Posted February 16, 2019 Posted February 16, 2019 {print("<option value=$row[1]>$row[1]</option>");} My $row[1] contains multiple words but only the first word is posted to the next file. Am I not allowed to have multiple word entries? Thank you
Ingolme Posted February 17, 2019 Posted February 17, 2019 You have to wrap the attribute value in quotes, otherwise the content after the space is treated as a different attribute.
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