Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > MySQL
MySQL General discussion about the MySQL database.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the MySQL section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 6th, 2005, 11:06 AM
Authorized User
Join Date: Jan 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to elania
Default search function

i am doing a search function, where the keyword from user can be anything from any column/row. but i have no idea what sql statement should i put at the part marked xxx

SELECT * FROM tablename WHERE xxx LIKE '$keyword%';

i'm am total newbie
i\'m am total newbie
Old February 6th, 2005, 07:00 PM
Authorized User
Join Date: Dec 2004
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to colin.horne

You should read up on MySQL fulltext searching.

Look at this:


Please contact me at:
Colin (dot) Horne (at) gmail (dot) com
My blog: http://colinhorne.blogspot.com

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding a search function Brendan Bartley ASP.NET 1.0 and 1.1 Basics 1 September 30th, 2008 03:40 PM
Search function talktome Excel VBA 1 September 6th, 2005 12:47 AM
Search function Urban_Roughneck Beginning PHP 9 January 21st, 2005 08:31 AM
Search Function rylemer Pro VB 6 1 March 24th, 2004 11:37 PM
Search Function damnnono_86 Access 30 October 14th, 2003 09:02 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.