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

Links not updating
I'm trying to fuel a simple navigation system for a news section. It works fine when it comes to ret

need help about
i store the value of my select statement result to an array and stored it to a variable named $fname

Creating a unique 'control panel' for each user
Hi there,

I'm thinking of designing a site that will allow users to sign up and have their ow

Form validation with functions
Hi there

I am trying to make a very simple form validation function. I currently have the fol

Deleted Delivery but material wont return
We deleted a delivery but the material its still pending.

We made a reverse goods movemen

Problem assigning value to variable in "IF" function
Does this script makes sense? I am trying to take the value that is set to "authenticat" a

Can anyone give me some link on .htaccess tutorial
i wish to have friendly url using .htaccess, but no idea yet about this

Hope that anyone cou

Strange Oracle Query problem
Ok So I have this PHP class that talks to a Javascript class that basically creates a table of infor

uploading video files into mysql in php
hi,
I have the video files which i have to upload into mysql db. along with creating thumbnails f

connect() succeeds but accept() does not?
Please help me with this problem. I'm working on a time-sensitive project where I'm using TCP socket

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