PHP를 처음 사용하고 WordPress 사이트의 줄 1보다 코드가 약간 변경되었습니다. Dreamweaver CC를 사용하여 업로드합니다. 방법 :구문 분석 오류 : 구문 오류, 예기치 않은 T_IF in ... 줄 1
Parse error: syntax error, unexpected T_IF in /home/jodyrein/public_html/www.writersblogfinder.com/wp-content/themes/rockthebook/functions.php on line 1
at www.writersblogfinder.com
을 여기에 코드의 처음 몇 줄 : 당신은 메모장과 같은 끔찍한 편집기를 사용하여 파일을 편집하지 않은
<?php
/**
* rockthebook functions and definitions
*
* @package rockthebook
*/
/**
* Set the content width based on the theme's design and stylesheet.
*/
if (! isset($content_width))
$content_width = 640; /* pixels */
PHP 태그 다음에 Enter 키를 눌러보십시오. – Mihai
감사하지만 작동하지 않았습니다. – netalexpg
모든 주석을 제거하십시오. – Mihai