RE: [PHP-DB] Populating a dropdown list with ENUM values...

2002-06-26 Thread Cosby, Christopher
Did you see the very last user contributed comment at http://www.php.net/manual/en/function.mysql-fetch-field.php? It'll help you immensely. Christopher S. Cosby SciCare Software Services 770.236.1128 -Original Message- From: NIPP, SCOTT V (SBCSI) [mailto:[EMAIL PROTECTED]] Sent:

RE: [PHP-DB] Last ID from database?

2002-06-26 Thread Cosby, Christopher
-Original Message- From: Chris Payne [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 26, 2002 3:57 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] Last ID from database? Hi there everyone, How Can I grab just the LAST ID from a database in MySQL with PHP easily? Which LAST

RE: [PHP-DB] what the heck? (elementary question)

2002-06-25 Thread Cosby, Christopher
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, June 24, 2002 7:47 PM To: Cosby, Christopher; [EMAIL PROTECTED] Subject: Re: [PHP-DB] what the heck? (elementary question) I will regularly use large echo style statements to generate HTML, especially

RE: [PHP-DB] email format: meeting request

2002-06-25 Thread Cosby, Christopher
I'll dig up some old code I have lying around that did this (may take a while to find). In the meantime, I did it like this: 1) Create an event in Outlook. 2) File - Save As... - event.ics 3) event.ics is a plain text calendar file. The dates are a pain in the @$$ (DTSTART, DTEND), but the

RE: [PHP-DB] Re: never seen this before..

2002-06-24 Thread Cosby, Christopher
Must be an old or broken version of mysql. I'm running 3.23.50 and it won't even allow the `id' field to be a varchar(255). Change it to int() and watch the magic. -Original Message- From: Jas [mailto:[EMAIL PROTECTED]] Sent: Monday, June 24, 2002 1:05 PM To: [EMAIL PROTECTED]

RE: [PHP-DB] what the heck? update

2002-06-24 Thread Cosby, Christopher
Try the PHP documentation, see if it helps. If not, come back with a tiny bit more detail. The fact that `lastname' and `submit' are both being passed to the next page is correct, you're not seeing things. $submit is just another variable in the world of PHP.

RE: [PHP-DB] what the heck? (elementary question)

2002-06-24 Thread Cosby, Christopher
I don't want to start a tangent here, but the most accepted way for generating HTML with PHP is to NOT generate HTML with PHP. Thus, the original code should be written like this: :: BEGIN input.html :: div style=position: relative; text-align: center; form method=post action=name.php input