Re: [PHP-DB] new guy with stupid question

2006-01-20 Thread Julien Bonastre
using mysql_fetch_row(), while it provides a significant added value [source: www.php.net/manual/en/function.mysql-fetch-array.php ] tata! - Original Message - From: "Jeffrey" <[EMAIL PROTECTED]> To: Sent: Friday, January 20, 2006 7:19 PM Subject: Re: [PHP-DB] new guy

RE: [PHP-DB] new guy with stupid question

2006-01-20 Thread Lonny
-Original Message- From: Lonny [mailto:[EMAIL PROTECTED] Sent: Friday, January 20, 2006 3:46 AM To: php-db@lists.php.net Subject: [PHP-DB] new guy with stupid question Hello, I am new to the list. I thought I would call my question stupid just to raise some eyebrows to those who might

Re: [PHP-DB] new guy with stupid question

2006-01-20 Thread Balazs Hegedus
Hi, Aaron helped me to understand the question so here's an add-in to his comment. from the MySQL manual: MySQL version through 4.1 accept certain "illegal" values for dates, such as '1999-11-31'. This is useful when you want to store a possibly incorrect value specified by a user (for exampl

Re: [PHP-DB] new guy with stupid question

2006-01-20 Thread Jeffrey
Lonny wrote: OK, sorry for the long winded info. For today I will ask for a script that will gather emails from the email field of a table in a database and send a news letter to those emails. How do I compose the email formatted with html for a professional look and send it to everyone in the d

Re: [PHP-DB] new guy with stupid question

2006-01-20 Thread Balazs Hegedus
Hi, Here's what I found googling around (with these keywords: html email php): http://www.sitepoint.com/article/advanced-email-php didn't read it through, but looks good imho (and there's more). And my apologies but I really don't understand your second question. :) Balazs -- PHP Database Mail

Re: [PHP-DB] new guy with stupid question

2006-01-20 Thread Aaron Koning
$date = $month."-".$day."-".$year; $query = "INSERT INTO sometable (date) VALUES ('$date');"; Hope this works for you, Aaron On 1/20/06, Lonny <[EMAIL PROTECTED]> wrote: > > > Hello, > I am new to the list. > I thought I would call my question stupid just to raise some eyebrows to > those who mig