Include a php


Posted on 16th Feb 2014 07:03 pm by admin

Hello,

I'm trying to include a function that shows the recent searches.
Example I have
Did you know?Explore Trending and Topic pages for more stories like this.
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
No comments posted yet

Your Answer:

Login to answer
117 Like 25 Dislike
Previous forums Next forums
Other forums

Mouseover to edit (Ajax)
hi friends, can anyone help with the code behind to get this application working, please in VB (new

Preserving user-entered linebreaks
Hi, I'm building a web 2.0 thingy from scratch and I wanna display text which users input. It's all

Keep newlines from textarea?..
I'm creating a simple encoding program, and what I want it to do is retain the newlines, as echoing

php call servlet
I have done a php backup application .
So there is a form that user pick some files to zip and d

Locking mysql tables with php
Hi

BACKGROUND:
I have multiple instances of the same php script running in a WAMP environ

Something like an INI editor or a DelimitedText-Editor
Hi all,

Am very, very, very new to PHP and not sure if I should be posting this to a Javascri

Displaying pictures
i have worked my way through storing images in directory and storing the location in mySQL db.Now i

help with image upload code
Hello,

right now this code I have resizes images and then places them into the uploads folder

send message to the java application
Oracle 10g with Windows platform.

I have a java application that periodically pings the d

Why is my row count 0?
Here's the MySQL query i'm running. It basically pulls data from 2 tables based on some data passed.

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash