Hello All,
I am trying to include a php file but somehow it does not work, even if I put it like this.
include "myfilename.php";
?>
In fact I am trying to create a predefined address book, with all the users that have already logged in into the webmail.
I can easily get the information from the database using the following query:
$sql = 'SELECT * FROM `users` ORDER BY `username` DESC LIMIT 0, 100';
$result_sq = mysql_query($sql);
but I am having troubles including it into the webmail.
If I call the file directly it shows the list of users with no problem.
So, any help would be much appreciated.
Thanks in advnace.