Results 1 to 5 of 5

Thread: parse error, unexpected T_VARIABLE...

  1. #1
    Join Date
    Jun 2003
    Posts
    277
    Rep Power
    0

    Default parse error, unexpected T_VARIABLE...

    hi guys

    Given my llama status i need some help with this
    PHP code...

    I cant figure out the parse error

    Here's the code & the error is in Line 21 (so far ):

    20. $a2p_connstr=$strSource
    21. $a2p_uid=strstr($a2p_connstr,'uid'
    22. $a2p_uid=substr($d,strpos($d,'=&#039+1,strpos($d,';&#039-strpos($d,'=&#039-1);
    23. $a2p_pwd=strstr($a2p_connstr,'pwd'
    24. $a2p_pwd=substr($d,strpos($d,'=&#039+1,strpos($d,';&#039-strpos($d,'=&#039-1);



  2. #2
    Join Date
    Jun 2003
    Posts
    277
    Rep Power
    0

    Default Re:parse error, unexpected T_VARIABLE...

    And for the record Cknight i agree with you


    Editplus is the greatest!!!

  3. #3
    Join Date
    Feb 2003
    Posts
    3,184
    Rep Power
    0

    Default Re:parse error, unexpected T_VARIABLE...

    [quote author=Cue link=board=22;threadid=1601;start=0#msg15274 date=1061237968]
    Editplus is the greatest!!!
    [/quote]

    now you're just obsessed

    20. $a2p_connstr=$strSource
    21. $a2p_uid=strstr($a2p_connstr,'uid'
    22. $a2p_uid=substr($d,strpos($d,'=&#039+1,strpos($d,';&#039-strpos($d,'=&#039-1);
    23. $a2p_pwd=strstr($a2p_connstr,'pwd'
    24. $a2p_pwd=substr($d,strpos($d,'=&#039+1,strpos($d,';&#039-strpos($d,'=&#039-1);
    put a ; (semi colan) at the end of line of line 20.

  4. #4
    Join Date
    Jul 2003
    Posts
    151
    Rep Power
    0

    Default Re:parse error, unexpected T_VARIABLE...

    Editplus is the greatest!!!

    hmmm.... what about dreamweaver??? now that is the best.....!!!

  5. #5
    Join Date
    Jun 2003
    Posts
    277
    Rep Power
    0

    Default Re:parse error, unexpected T_VARIABLE...

    Thanks Guys


    One hurdle Crossed!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •