php-db | 2001071
Date: 07/09/01
- Next message: Osman Omar: "[PHP-DB] myisamchk always report table not close properly"
- Previous message: Frank M. Kromann: "Re: [PHP-DB] a simple question"
- In reply to: chris <email protected>: "[PHP-DB] New to PHP and MySQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
assuming you have a DB setup with a table for the guestbook, just do a
standard query.
now the steps can be long and wordy. but essentially, you open a
connection to the DB server. you make a link to the DB. you then pass
an SQL query via PHP to Mysql. then it stores the result into an array
that you can then process.
best thing to do is get a book that has PHP and Mysql into it.
Beginning PHP from WROX.com had me started really well. then i got a
PHP and Mysql book that just answered all my questions.
chris <email protected> wrote:
>
> Hi there,
>
> I'm new to PHP and MySQL - coming from ACCESS and ASP. Can someone please let me know - in simple terms :-) how to search a DB? I have written a guestbook which works fine, but I would like my users to be able to search it for a word or phrase and i'm not totally sure how to go about it.
>
> Thanks for any and all help anyone :-)
-- Leo G. Divinagracia III ldivinag <email protected>-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Osman Omar: "[PHP-DB] myisamchk always report table not close properly"
- Previous message: Frank M. Kromann: "Re: [PHP-DB] a simple question"
- In reply to: chris <email protected>: "[PHP-DB] New to PHP and MySQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

