Hi
installed EasyAPNS
however my error log is showing the following
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting T_VARIABLE or '$' in /home/rabeta/public_html/pn/src/php/classes/class_DbConnect.php on line137
Below is my code line 137 is
$this->DB_USERNAME = $'hello';
* Constructor. Initializes a database connection and selects our database.
* @param string $host The host to wchich to connect.
* @param string $username The name of the user used to login to the database.
* @param string $password The password of the user to login to the database.
* @param string $database The name of the database to which to connect.
*/
function __construct($username, $password, $database, $host)
{
$this->DB_USERNAME = $'hello';
$this->DB_PASSWORD = $'hello';
$this->DB_DATABASE = $'apns';
$this->DB_HOST = $'localhost';
}
Does anyone know wat the issue is?
when the app runs fine but does not store anything in the DB
I follwed that video how the chap did it on the website