WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDES  |  PHP CLASSES  |  CODE SEARCH  |  ARTICLES SEARCH  |  PHP FORUMS  |  PHP MANUAL  |  PHP FUNCTIONS LIST  |  WEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Submit Your Code
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
WeberDev's Monthly code contest PHP Code Contest
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Index
Web Development Resources
Web Development Content
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
Mobile Dev World

Go Back Add a Comment Send this example to a friend Add this Article to your personal favoritest for easy future access to your favorite Code Examples and Articles. Submit a code example Print this code example.
BACK ADD A COMMENT SEND TO A FRIEND ADD TO MY FAVORITES ADD CODE EXAMPLES PRINT
Title : mySQL/PHP/search with multientry form and table output with colored rows
Categories : PHP, Beginner Guides, MySQL, HTML and PHP, Databases Update Picture
Karl Bridges
Date : Dec 23rd 2000
Grade : 3 of 5 (graded 22 times)
Viewed : 37901
File : inventory.php.txt
Images : No Images for this code example.
Search : More code by Karl Bridges
Action : Grade This Code Example
Tools : My Examples List

  Submit your own code examples 
 

This is an example of how to create a basic search
database e.g. using form one enters search criteria, it
searches mySQL database, and returns nicely
formatted table output with
header line followed by rows of data -- each row in
an alternating color.
Very basic but designed for new users who want to
understand how this works. Good first project for
someone wanting to create an address book, employee
list, etc.



Record Set Paging with PHP (RSP)
Categories : PHP, MySQL, Navigation, Databases, HTML and PHP
Alternating background color for HTML table rows
Categories : PHP, Databases, MySQL, HTML and PHP
Database resultset navigation
Categories : PHP, HTML and PHP, Databases, MySQL, Navigation
Function to do live population of HTML's <Select> tag from a Table
Categories : PHP, MySQL, HTML and PHP, Databases
This program will take data from a user via a web based form, validate it, show it to the user for re-validation, and finally insert it into the database. Plenty of sanity checking on the fields in the form.
Categories : MySQL, HTML and PHP, PHP, Complete Programs, Databases
A very simple way to build and do a hierarchical html categories browser without javascript , just using html php and mySql
Categories : HTML and PHP, Databases, Algorithms, PHP, MySQL
Automatically printing the contents of an sql table in MySQL.
Categories : MySQL, PHP, HTML and PHP, Databases
bookmarker - PHP, PHPLIB, MySQL WWW based bookmark manager
Categories : MySQL, PHP, MySQL, Complete Programs, Databases
How can i Preload a 'SELECT MULTIPLE'?
Categories : HTML and PHP, PHP, MySQL, Databases
DDN FFA Network Script
Categories : PHP, MySQL, Complete Programs, HTML and PHP, Databases
A script to generate a report from a valid mysql connection. The user has to supply which fields he wants to display in table. All properties are changable.
Categories : PHP, PHP Classes, Databases, MySQL, HTML and PHP
How to Insert a Date Format Into MySQL from PHP
Categories : PHP, Databases, MySQL, Date Time, Beginner Guides
Paginating the mySQL data
Categories : PHP, Algorithms, Databases, MySQL, HTML and PHP
This program allows you to upload an ODBC ressource - i.e. an MS-Access database to a MySQL server.
Categories : Databases, MySQL, Complete Programs, PHP, Databases
Newbie Notes #10 - Generating drop downs
Categories : PHP, MySQL, HTML, Beginner Guides, Databases
 James Couzens wrote : 546
dude, your file contains no example on how to make the query using a form.... all it does it spit out all the data without allowing the viewer to specify a search criteria
 
 Eddy Peart wrote : 1300
all it takes is a little common sense to replace those quotation marks with the form information it`s really not that hard. Maybe you should read some tutorials before you try taking apart examples to study them
 
 Mark Isherwood wrote :1696
Thanks! It was what I needed, with a little modification, of course, but I changed 3 lines of code in my code due to the info you provided, and my search works great. I DID change the search parameter to include a % BEFORE the variable as well as after to get all matches, and now I can get all songs with the word LOVE in it or search ELVIS OR PRESLEY and come up with all the records available. It`s a Karaoke Song List, check it out at http://karaoke.maryandmarthashouse.com - I`m still working on it, so don`t be too judgmental, but the search works correctly. Thanks again.