Can somone please help me out please..
I have this MYSql query..
SELECT DATE_FORMAT(Date,'%M %d %Y'), filedetails.In FROM filedetails
WHERE filedetails.In='N'
Which gives the desired results.
But when I echo <?php echo ['DATE_FORMAT(Date,'%r %M %d %Y')']; ?> in my page I get this error "Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ']' in c:\apache"
I have this MYSql query..
SELECT DATE_FORMAT(Date,'%M %d %Y'), filedetails.In FROM filedetails
WHERE filedetails.In='N'
Which gives the desired results.
But when I echo <?php echo ['DATE_FORMAT(Date,'%r %M %d %Y')']; ?> in my page I get this error "Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ']' in c:\apache"