I'm takin error with my sites function page. Could somebody check and fix the error pls? Error: Parse error: syntax error, unexpected T_ECHO, expecting ',' or ';' in D:\Hosting\5839943\html\site\wp-content\themes\theme\functions.php on line 44 line: $category$category function get_image($postid = 0, $size = "full") Code (markup):
change echo "143191220"echo $contentecho " [...]"strlen; to echo "143191220" . $contentecho . " [...]" . strlen;
Or change echo "143191220"echo $contentecho " [...]"strlen; to echo "143191220"; echo $contentecho. " [...]".strlen; But there a small thing I dont know what is "strlen", did you mean that is function strlen (count number of character in string function or length of string)
thanx it solved but i have a problem about line 44: $content=substr($content, 0, $espacio)$espacio=strpos($content, " ", $max_char);
add";" before $espacio $content=substr($content, 0, $espacio); $espacio=strpos($content, " ", $max_char);