After observing the failure my misc table contains 119 rows. PHP Parse error: syntax error, unexpected $ end. This error is typically caused by a missing } used in PHP to denote content belonging to a WHILE, IF, or FOR. 関係あるかは不明ですが、 次の行は明らかに間違いがあります echo " < div style= ' text- align: right; 7> < span id = ' likeSu$ row[ ' ID' ] ' > $ row[ ' likeKazu' ]. Check your short_ open_ tag setting in php. You have a mixture in this code. If the setting is switched off, it may be that the statements using. Parse error: syntax error, unexpected end of file in C: \ xampp\ htdocs\ f. DELETE< / a> < a href= " f.