Hi all,
When i started to build my site I used easyPHP. For those of you who dont know what easyPHP is, its basically Apache, mySQL and PHP all in one. I've now bought the domain, webspace etc and somethings now not working correctly
The trouble i am getting is that if i had a simple query such as:
$result = mysql_query("SELECT DATE_FORMAT(timeadded, '%H:%i) AS time1 FROM bands", $connection);
$row = mysql_fetch_array($result);
$timeadded = $row['time1'];
echo $timeadded;
If would work on easyPHP but it doesnt work now :-S $timeadded is empty. I've checked the database and theres definitely a value in there.
This problem is only occuring on the time. Its fine with dates etc
Has anyone got any suggestions to why this might be please??
Many thanks,
BIOSTALL