User Profile

Collapse

Profile Sidebar

Collapse
dbldeegd
dbldeegd
Joined: Jul 24 '07
Location: Canada
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • The lines have been edited:
    [PHP]371 $html=file_get_ contents('user_ register.html') ;
    372 include(PMDROOT .'/includes/template_setup. php');
    ?>
    [/PHP]
    but now the following error is received
    Parse error: parse error, unexpected '\'' in /...../econsumersearch/members/user_registest. php on line 372

    Why and what is being interpreted as '\" ???...
    See more | Go to post

    Leave a comment:


  • Thanks for all the comments
    I am still struggling with this

    I now receive the parse error

    Parse error: parse error, unexpected '\'' in /....../members/user_registest. php on line 372

    [CODE=PHP]
    371 $html=file_get_ contents('user register.html') ;
    372 include(PMDROOT .'/includes/template_setup. php');
    ?>


    [/CODE]

    the page
    ...
    See more | Go to post

    Leave a comment:


  • My head is scrambled trying to figure this out

    the output line 372 is include(PMDROOT .'/includes/template_setup. php');
    the file /includes/template_setup. php just sets the output which includes several templates.

    Is there a different syntax for this $html=file_get?...
    See more | Go to post

    Leave a comment:


  • Parse error: parse error, unexpected '\''



    I did not realise how busy this board is..

    I have moved the html file but still some problem with syntax of this code
    Code:
    $html=file_get_contents('user register.html');';
    include(PMDROOT.'/includes/template_setup.php');     
    ?>
    results in
    Parse error: parse error, unexpected '\''
    the include line is the...
    See more | Go to post
    Last edited by dbldeegd; Jul 26 '07, 02:00 PM. Reason: include output

    Leave a comment:


  • Thanks pbmods.

    The code is fairly lengthy....
    and includes
    $custom javascript .='

    (PMDROOT.'/includes/template_setup. php');
    ?>

    the problem is where should the JS be placed??

    here is what should happen.

    I couls send an attachment...
    See more | Go to post

    Leave a comment:


  • Parse error: Unexpected '<' (opening HTML tag marker)

    My Java Script executes fine on an test HTML page, but on the required page which is php results in an error.

    the page

    The script drops in message box when the page is loaded
    since the script works the problemshould lie elsewhere..
    Code:
     line 451
     <div id="dropin" style="LEFT: 200px; VISIBILITY: hidden; WIDTH: 500px; POSITION: absolute; TOP: 100px; HEIGHT: 100px; BACKGROUND-COLOR: #ccccff">
    ...
    See more | Go to post
No activity results to display
Show More
Working...