RE: [PHP-DB] Insert, Arrays, & Null

2002-04-05 Thread Zach Curtis
an advantage to using the VALUES clause? Thank you for your assistance. Zach -Original Message- From: Rick Emery [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 8:42 AM To: 'Zach Curtis'; [EMAIL PROTECTED] Subject: RE: [PHP-DB] Insert, Arrays, & Null Is there s

RE: [PHP-DB] Insert, Arrays, & Null

2002-04-05 Thread Zach Curtis
ssage- From: Rick Emery [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 8:18 AM To: 'Zach Curtis'; [EMAIL PROTECTED] Subject: RE: [PHP-DB] Insert, Arrays, & Null When you say "...account for either a numeric or NULL value ...", do you mean SELECT a value that could

[PHP-DB] Insert, Arrays, & Null

2002-04-05 Thread Zach Curtis
27;$cus_array[cusa]', cusb='$cus_array[cusb]', cusc='$cus_array[cusc]' "; Any thoughts on how I can create this query that can account for either a numeric or NULL value coming from the dynamic array? Thank you. ___

RE: [PHP-DB] Why NULL?

2002-02-01 Thread Zach Curtis
Yes, I did not receive any replies to that message yesterday. Here is my code (condensed) as well. What ends up happening is that when I write a variable for a field that did have data, for example "cus034a", to the db it shows a value of "0" when I intended it to be "NULL". Thanks. Zach # pa

[PHP-DB] Why NULL?

2002-02-01 Thread Zach Curtis
o NULL values before iterating the loop again. However, if I do this and the next record does not have a value for "cus034a", the value in the db still ends up being "0". $data_array["cus034a"] = NULL; $data_array["sat01"] = NULL; I must be doing something

[PHP-DB] NULL Values

2002-01-31 Thread Zach Curtis
o NULL values before iterating the loop again. However, if I do this and the next record does not have a value for "cus034a", the value in the db still ends up being "0". $data_array["cus034a"] = NULL; $data_array["sat01"] = NULL; I must be doing something

RE: [PHP-DB] # of Records in Table

2002-01-24 Thread Zach Curtis
my knowledge and experience increases I hope to help those with questions. And the wheel goes round and round. Zach -Original Message- From: DL Neil [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 24, 2002 2:02 AM To: Zach Curtis Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DB] # of Records

RE: [PHP-DB] # of Records in Table

2002-01-23 Thread Zach Curtis
more likely I am to get a reply. Then details can be given if needed, in further correspondences. I will give that AUTO_INCREMENT and SELECT MAX() a try as well. Zach -Original Message- From: DL Neil [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 23, 2002 3:27 PM To: Zach Curtis Cc

RE: [PHP-DB] # of Records in Table

2002-01-23 Thread Zach Curtis
Excellent. That is more efficient (one select statement) than what I was trying to do. Zach -Original Message- From: Miles Thompson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 23, 2002 2:20 PM To: Zach Curtis; [EMAIL PROTECTED] Subject: Re: [PHP-DB] # of Records in Table

RE: [PHP-DB] # of Records in Table

2002-01-23 Thread Zach Curtis
The key field is the password field, which is also the field that I would like to retrieve for that last record. Zach -Original Message- From: DL Neil [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 23, 2002 2:08 PM To: Zach Curtis Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DB] # of

Re: [PHP-DB] # of Records in Table

2002-01-23 Thread Zach Curtis
houghts? Zach -Original Message- From: DL Neil [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 23, 2002 1:11 PM To: Zach Curtis; [EMAIL PROTECTED] Subject: Re: [PHP-DB] # of Records in Table Zach, > What syntax can I use to determine how many records are in a MySQL table and > then

Re: [PHP-DB] # of Records in Table

2002-01-23 Thread Zach Curtis
, January 23, 2002 1:10 PM To: Zach Curtis; [EMAIL PROTECTED] Subject: Re: [PHP-DB] # of Records in Table does the table have an autoincrement column? Jim Lucas - Original Message - From: "Zach Curtis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, Jan

RE: [PHP-DB] Decrypting PASSWORD() from MySQL

2001-12-20 Thread Zach Curtis
ining their password. Zach -Original Message- From: matt stewart [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 2:19 AM To: 'Zach Curtis'; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [PHP-DB] Decrypting PASSWORD() from MySQL I would go for the "

RE: [PHP-DB] Decrypting PASSWORD() from MySQL

2001-12-19 Thread Zach Curtis
/decipher Thanks, Zach -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 19, 2001 12:56 PM To: Zach Curtis Cc: [EMAIL PROTECTED] Subject: RE: [PHP-DB] Decrypting PASSWORD() from MySQL Yet another example of ted's out-to-lunchness... Use the m

RE: [PHP-DB] Decrypting PASSWORD() from MySQL

2001-12-19 Thread Zach Curtis
PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 19, 2001 12:29 PM To: Zach Curtis Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Decrypting PASSWORD() from MySQL Well, it's (intended to be) difficult. Perhaps you can NULL it out and have them put in a new password... On Wed, 19 Dec

[PHP-DB] Decrypting PASSWORD() from MySQL

2001-12-19 Thread Zach Curtis
ot;Could not execute database query:" . mysql_error() . ""; $row = mysql_fetch_array($result); $userName = "$row[userName]"; $password = "$row[password]"; $email = "$row[email]"; Thank you. Zach Curtis Programmer/Analyst POPULUS -- PHP Database Mailing Lis

RE: [PHP-DB] Converting Date Form Fields

2001-11-16 Thread Zach Curtis
Ah, the join function...I see implode() will also perform the same task. That was what I needed to do. Thanks! Zach -Original Message- From: matt stewart [mailto:[EMAIL PROTECTED]] Sent: Friday, November 16, 2001 9:06 AM To: 'Zach Curtis'; [EMAIL PROTECTED] Subject: R

[PHP-DB] Converting Date Form Fields

2001-11-16 Thread Zach Curtis
birthDate with field type DATE (-MM-DD)? The part I do not know how to accomplish is taking these form fields and then combining them into a date field/format. Thank you. Zach Curtis POPULUS -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For