|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Create Search For Table
Hi:
I have 1 more question. If you go to my page, http://www.coopercentral.org/column.php , I created a column each week. I want to create a simple search, that will scan through all the column. The table name is "day", and the column field is named "column". How can I make a search to search JUST the column? Thanks a lot, I really appreciate it. Ken Cooper |
|
#2
|
|||
|
|||
|
RE: Create Search For Table
let's say that you wanted to search for a word stored in $word. your query would look like:
$query = "select * from `day` where `column` like '%$word%'"; |
|
#3
|
|||
|
|||
|
RE: Create Search For Table
Ok, then I would do a mysql_num_rows, and then do that, and it will say how many. THanks a lot, I really apreciate it.
Ken Cooper |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > Create Search For Table |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|