At 09:02 PM 12/23/02 -0800, Chris Rehm wrote:
Both of the tutorials that got me going with PHP & MySQL appear on the first page of the Google search John sent you. Those are Devshed and Webmonkey, but that was long ago, there may be better choices now. One thing to look for is a discussion of the "Register Globals" change and how it affects PHP programming. Older tutorials may have a problem with how they access form varibles.John W. Holmes wrote:The Internet is a wealth of resources, but some of them aren't as good as others. If people here have had great success from some sites, I'd like to be able to pass on those recommendations.http://www.google.com/search?sourceid=navclient&ie=UTF-8&oe=UTF-8&q=php+ mysql+tutorial ---John W. Holmes...
> Did I make a valid suggestion?
Yes. PHP + MySQL are a very good way to solve the problem you posed. Certainly my first choice. I wouldn't send an email on every entry though. It is a waste. The entries are stored in the database, and you can look through them any time you want. Just build a password protected web page.
Picking a winner might be as easy as:
SELECT *
FROM Entries
ORDER BY RAND()
LIMIT 1
This picks one record from the Entries table at random. You may want to send your self an email with the results, as this is truly random.
May as well let the computers do the work...
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php