I am using HTML inside PHP like this.\[code\]for($i=0;$i<count($arrSql);$i++) $opt.="<option". if($_GET['pId'] == $arrSql[$i][0]){ echo "Selected";} ."value="http://stackoverflow.com/questions/13817378/.$arrSql[$i][0].">".$arrSql[$i][1]."</option>";\[/code\]I have tested it for a long time and it looks correct, but it is showing an error and I don't know where the bug is.