eTekhnos
11-18-2010, 08:15 PM
I am trying to install Word Press and I have a syntax error that I can't work out in my php code.
Here is the error:
Parse error: syntax error, unexpected '.' in /home/family/public_html/blog/wp-includes/user.php on line 588
Here is the section of code it refers to - line 588 begins with 'show_option_all'
function wp_dropdown_users( $args = '' ) {
global $wpdb;
$defaults = array(
'show_option_all'../../blog/wp-includes/ => '', 'show_option_none'../../blog/wp-includes/ => '',
'orderby'../../blog/wp-includes/ => 'display_name', 'order'../../blog/wp-includes/ => 'ASC',
'include'../../blog/wp-includes/ => '', 'exclude' => '', 'multi' => 0,
'show' => 'display_name', 'echo' => 1,
'selected' => 0, 'name' => 'user', 'class' => '', 'blog_id' => $GLOBALS['blog_id'],
'id' => '',
);
Please can you help me?
Here is the error:
Parse error: syntax error, unexpected '.' in /home/family/public_html/blog/wp-includes/user.php on line 588
Here is the section of code it refers to - line 588 begins with 'show_option_all'
function wp_dropdown_users( $args = '' ) {
global $wpdb;
$defaults = array(
'show_option_all'../../blog/wp-includes/ => '', 'show_option_none'../../blog/wp-includes/ => '',
'orderby'../../blog/wp-includes/ => 'display_name', 'order'../../blog/wp-includes/ => 'ASC',
'include'../../blog/wp-includes/ => '', 'exclude' => '', 'multi' => 0,
'show' => 'display_name', 'echo' => 1,
'selected' => 0, 'name' => 'user', 'class' => '', 'blog_id' => $GLOBALS['blog_id'],
'id' => '',
);
Please can you help me?