Unexpected T_STRING, expecting ',' or ';'

Closed
shiprasinni Posts 2 Registration date Wednesday March 6, 2013 Status Member Last seen March 6, 2013 - Mar 6, 2013 at 12:24 AM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Mar 6, 2013 at 12:37 AM
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 responses

shiprasinni Posts 2 Registration date Wednesday March 6, 2013 Status Member Last seen March 6, 2013
Mar 6, 2013 at 12:24 AM
please give me the answer urgently.
0
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 766
Mar 6, 2013 at 12:37 AM
0