Loading ...
Sorry, an error occurred while loading the content.
 

url problem

Expand Messages
  • George Iordanou
    i keep getting this error on the following line: global $home = Home Page ; //also tried: global $home =
    Message 1 of 3 , May 15, 2004
      i keep getting this error on the following line:

      global $home = "<a href='index.php'>Home Page</a><br />";
      //also tried:
      global $home = '<a href="index.php">Home Page</a><br />';


      The error:
      Parse error: parse error, expecting `','' or `';'' in /blah/blah.php on
      line 2

      Any ideas?

      --
      George Iordanou <iordanoug@...>
      Blog: http://livejournal.com/users/georgis/
      The life which is unexamined is not worth living. --Plato
    • George Iordanou
      problem solved, i ve made it a normal variable, and global in the function using global $home, $blah... ; It works fine now, thanks Symeon George Iordanou ...
      Message 2 of 3 , May 15, 2004
        problem solved, i've made it a normal variable, and global in the
        function using global $home, $blah... ;
        It works fine now, thanks Symeon

        George Iordanou

        On Sat, 2004-05-15 at 22:55, Symeon Charalabides wrote:
        > > i keep getting this error on the following line:
        > >
        > > global $home = "<a href='index.php'>Home Page</a><br />";
        > > //also tried:
        > > global $home = '<a href="index.php">Home Page</a><br />';
        > >
        > >
        > > The error:
        > > Parse error: parse error, expecting `','' or `';'' in /blah/blah.php
        > on
        > > line 2
        > >
        > > Any ideas?
        > >
        > Vlepontas pos to error message leei 'line 2', theoro pos i dilosi tou
        > home einai
        > i proti entoli enos script, kai ara mallon den prokeitai gia function.
        > Stin PHP,
        > oi global metavlites dilonontai mesa sta functions kai den ehoun
        > ypostasi i noima
        > ston kyrios kodika. Ayto einai to mono pou boro na skefto, kata t'alla
        > i entoli
        > sou einai sosti (i deyteri version tis opoias einai pio sosti kai os
        > PHP kai os
        > HTML).
        >
        > Symeon Charalabides (cosmopolite trainee)
        > -------------------------------------------------
        > http://www.systasis.com
        >
        >
        >
        > --
        > PHP mailing list
        >
        >
        > Yahoo! Groups Sponsor
        > ADVERTISEMENT
        > click here
        >
        >
        > ______________________________________________________________________
        > Yahoo! Groups Links
        > * To visit your group on the web, go to:
        > http://groups.yahoo.com/group/php_greek/
        >
        > * To unsubscribe from this group, send an email to:
        > php_greek-unsubscribe@yahoogroups.com
        >
        > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
        > Service.
        * --
        George Iordanou <iordanoug@...>
        Blog: http://livejournal.com/users/georgis/
        The life which is unexamined is not worth living. --Plato
      • Symeon Charalabides
        ... Vlepontas pos to error message leei line 2 , theoro pos i dilosi tou home einai i proti entoli enos script, kai ara mallon den prokeitai gia function.
        Message 3 of 3 , May 15, 2004
          > i keep getting this error on the following line:
          >
          > global $home = "<a href='index.php'>Home Page</a><br />";
          > //also tried:
          > global $home = '<a href="index.php">Home Page</a><br />';
          >
          >
          > The error:
          > Parse error: parse error, expecting `','' or `';'' in /blah/blah.php on
          > line 2
          >
          > Any ideas?
          >
          Vlepontas pos to error message leei 'line 2', theoro pos i dilosi tou home einai
          i proti entoli enos script, kai ara mallon den prokeitai gia function. Stin PHP,
          oi global metavlites dilonontai mesa sta functions kai den ehoun ypostasi i noima
          ston kyrios kodika. Ayto einai to mono pou boro na skefto, kata t'alla i entoli
          sou einai sosti (i deyteri version tis opoias einai pio sosti kai os PHP kai os
          HTML).

          Symeon Charalabides (cosmopolite trainee)
          -------------------------------------------------
          http://www.systasis.com
        Your message has been successfully submitted and would be delivered to recipients shortly.