Jump to content

Recommended Posts

Posted

{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

Posted

You have to wrap the attribute value in quotes, otherwise the content after the space is treated as a different attribute.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...