Addressed to: johndmiller <[EMAIL PROTECTED]>
** Reply to note from johndmiller <[EMAIL PROTECTED]> Mon, 23 Apr 2001 20:37:49
> I am new a database stuff. I am using mysql 4.0.1 with php on RH7.0.
> I am setting up a db with three fields with no-one field being unique. Do
> I have to have a unique field?
> The purpose of this db is to store a word, name of a file, and path to the
> file. My plan is to use a where clause, but I am not sure if it would be
> more efficent to do
> WHERE field1="word" and field2="filename" and field3="path";
> WHERE field1 = "word"
> and then read through the rows using something like a for each and check
> the other two fields.
When in doubt, code it both ways and time them.
In general, the more you can do in the database the better.
Internet Marketing Specialists
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]