hey .....
i have developed an CMS but the problem that i am facing is i want to search from the hole data base how i can do that ..just like the search in this forum
after writing a query ,it search from the database and give a list of records.. thats what i want to do.
thanks in advance.
how to search from multiplets tables
Moderator: General Moderators
-
khubaib.php
- Forum Newbie
- Posts: 6
- Joined: Sun Mar 11, 2007 9:50 am
You want find anything in a hole database
.
//Misread your topic. This is for one table, multiple columns.
// If you want to search your entire database for matching fields you can use the WHERE column = $postdata AND column2 = $postdata2
You can also use OR,
or just write a function, loop so it checkes which criterias needs to be checked.
//Misread your topic. This is for one table, multiple columns.
// If you want to search your entire database for matching fields you can use the WHERE column = $postdata AND column2 = $postdata2
You can also use OR,
or just write a function, loop so it checkes which criterias needs to be checked.
-
khubaib.php
- Forum Newbie
- Posts: 6
- Joined: Sun Mar 11, 2007 9:50 am
any example
pleas can any one provide me a full example with code???
thanks in advance
thanks in advance
Re: any example
I doubt it!khubaib.php wrote:pleas can any one provide me a full example with code???
thanks in advance