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
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

ALV sum various columns problem
Hi all,
I'm doing a report on ABAP for a timesheet of the current month. The output i want is s

Date Question
I'm using the TIMESTAMP() function within mysql to set the date/time for certain events. However, ho

PHP FTP Can't upload Big FIles
Anyone had any success using FTP to upload a file say 90m?

im using ftp_put and it returns fa

Multiple Options for a Single Page
For this example I want to use the Handlers option which is under Fed Admin and all the related codi

PHP switch function help
Hi, I am trying to create a search function for a directory website. On the search function on html

Weird problem with SELECT command..Help!
Hi!

It seems I'm having a really weird problem with SQL SELECT command....I have table into a

Material xxx does not exist in plant xxx
Dear All,

I am working for a steel project which is repetitive manufacturing.

Chat Box in PHP
I was thinking in doing a Chat Box in PHP. For that I would use a form with two fields, Nick and Mes

ASP.NET 2.0 - Enter Key - Default Submit Button
Hi,One of the most annoying things in developing web pages is handling the "Enter key" for form subm

Open link with largest int string first
I have the following links i would like to open either all at once or one-by-one. How would i procee

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