Kindly sort me out on this nagging issue, Unexpecting T_ENCAPSED_AND_ WHITESPACE, expecting T_string or T_variable or T_NUM_STRING.
HERE IS THE CODE:
Code:
<?php
class mainSport {
var $host;
var $username;
var $password;
var $table;
public function display_public() {
$q = "SELECT * FROM sportsDB ORDER BY created DESC LIMIT 3";
Leave a comment: