0
{echo "<option value="."$row3['cID']>" .$row3['prefix']." ".$row3['code']."</option>";}

Gives me the error:

Syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING

For some reason the editor isn't coming up.

2 Answers 2

2

Try

echo "<option value=". $row3['cID'] . ">" .$row3['prefix']." ".$row3['code']."</option>";
Sign up to request clarification or add additional context in comments.

Comments

0
echo "<option value="."$row3['cID']>" .$row3['prefix']." ".

Switch the double quote and dot at the end.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.