php3-list | 199901
Date: 01/31/99
- Next message: Reggie Burnett: "[PHP3] Email with no info"
- Previous message: php guru: "[PHP3] apache, php3 and mysql for redhat5"
- Next in thread: Sascha Schumann: "Re: [PHP3] troubles..."
- Reply: Sascha Schumann: "Re: [PHP3] troubles..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello there, I'm new in the mailing list and a beginner with PHP3 and
MySQL.
I'm trying to build a database for files to download, I planned a table
like this:
ID
Filename
Section
FileDimension
Date
Notes
The most important thing is the search engine that looks into 'filename'
and 'section' column.
The 'filename' field is input free, the 'section' field can be selected
from a list. There's the possibility to choose ALL, so that the engine
will search in every 'section'.
I've some troubles builing this engine, here are my questions if anyone
can help:
1) I'm using the explode command to split the 'filename' string in more
than one, if the user input more words. $words = explode (" ",$text);
How do I manage them if I don't know how many strings $word[] will be
generated ??
2) How do I make a search on both 'filename' and 'notes' columns,
conditioned by the 'section' with the above strings ?
3) How do I make a search for and ALL value in the 'section' field ?
I think that is enough at the moment... I hope that someone will send
some advices.
Thanks a lot.
------------------------------------------------------------------------
Valerio Fioretti - ITALY
------------------------------------------------------------------------
E-mail: v.fioretti <email protected>
TMA&TCA Pilot: 2182
------------------------------------------------------------------------
Webmaster di M.F.S http://www.ludus.com/mfs/
Redattore di Ludus http://www.ludus.it/
M.F.S. is an AVSIM's partner
------------------------------------------------------------------------
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3 List administrator: zeev-list-admin <email protected>
- Next message: Reggie Burnett: "[PHP3] Email with no info"
- Previous message: php guru: "[PHP3] apache, php3 and mysql for redhat5"
- Next in thread: Sascha Schumann: "Re: [PHP3] troubles..."
- Reply: Sascha Schumann: "Re: [PHP3] troubles..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

