Include a php

Posted on 16th Feb 2014 by admin

Hello,

I'm trying to include a function that shows the recent searches.
Example I have
index.html

------------------------------------------------------------------------
- -
- Info info -
- -
- and here I want to include the recent searches page -
- Recent searches(searches.php) -
- 1 2 -
- 3 4 -
------------------------------------------------------------------------

But I have no clue on how to do it, I tried include and the file location etc, but I get something of mailer.php in line 3.
ALSO, I want to make it on the recent search appear 2 searches per line.

Example I have
mysql_query("SELECT * FROM tags ORDER by id DESC LIMIT 24");

I want to appear

First Search Second search
Third Search Fourth Search
Fifth search

And so on.

ANY help is appreciated, any clue, tried google several times, Thanks

BEST REGARDS

Other forums