unexpected 'use' (T_USE) when trying to use composer

后端 未结 3 1649
北海茫月
北海茫月 2020-12-03 10:10

So, I am trying to use the coinbase API. I\'m attempting a simple test to see if I can make it work, but I\'m getting various composer errors.

Currently, I am getti

3条回答
  •  心在旅途
    2020-12-03 10:55

    Errors

    "Currently, I am getting unexpected t 'use' for this code " Or

    parse error: syntax error, unexpected 'use' (T_USE)
    

    Well I found such issue and wish to tell you I was using While loop I mean calling data from the database so actually whenever you see any " T " its mean you are Repeating the same script so I was doing the same and when to put it outside the while loop it worked for me It's my First Post here Jamal shah (From PAKISTAN)

提交回复
热议问题