Unexpected T_STRING, expecting ',' or ';'

[Closed]
Report
Posts
2
Registration date
Wednesday March 6, 2013
Status
Member
Last seen
March 6, 2013
-
Posts
4476
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
August 2, 2020
-
Hello,

i m trying to do....

echo '<td><select name="selectrights" id="selectrights" ><option>view</option><option>admin</option></select></td>';

echo '<td><input name="checkedit" id="checkedit" type="checkbox" onchange="<script type='text/javascript'>document.getElementById('selectrights').disabled=this.checked;</script>"</td>';


Then the above error is showing in the second line . Please tell me what to do? i m really helpless.
Thank You.

2 replies

Posts
2
Registration date
Wednesday March 6, 2013
Status
Member
Last seen
March 6, 2013

please give me the answer urgently.
Posts
4476
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
August 2, 2020
768