after establishing the connection I'm getting this kind of error in my PHP extension file. I have also tried in otherways but I get this kind of error.
Asked
Active
Viewed 29 times
0
-
Hello, can u edit your question to have the source code and any more detail information. So everyone can have better understanding about your problem – Bilhasry Ramadhony Aug 03 '20 at 05:11
2 Answers
1
You just mis-spelled "require". Use any of these:
require 'path/to/script.php'
require('path/to/script.php')
require_once 'path/to/script.php'
require_once('path/to/script.php')

DG_
- 246
- 1
- 3
- 15
0
Look for the word "reqiure" in the code and replace it with require
.
You are getting this error because the PHP parser does not expect that string token at that point in the syntax.
From the documentation, this is what a T_STRING is:
identifiers, e.g. keywords like parent and self, function names, class names and more are matched. See also T_CONSTANT_ENCAPSED_STRING.

Lino Contreras
- 91
- 1
- 5