[PHP-DB] Date of Birth From Form

2002-04-19 Thread Brandon Paul

Hey all,

I have a credit application form, and one of the required elements is the
applicant's Date of Birth.  I have creditapp table with a birthdate
field and it is a DATE datatype.  On the form, I want to be able to have
them enter their Date of Birth as mm/dd/ and have it go into the
database properly (-mm-dd).  Is there a way to do it this way, or am I
going about it wrong?  Any help would be greatly appreciated.

Thanks!

Brandon



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DB] Upload Multiple Images

2002-04-11 Thread Brandon Paul

Hi all...kinda new to PHP and MySQL...anyhow, I have created the following
table:

CREATE TABLE images (
  id smallint(6) NOT NULL auto_increment,
  image_title varchar(75) default NULL,
  image_src varchar(150) default NULL,
  PRIMARY KEY (id)
) TYPE=MyISAM;

I have also created a form that allows me to upload one image at a time, but
I would like to be able to upload SEVERAL images at once.  Directory for
images is:

./_images/(filenames)

There are also some subdirectories.  What can I do to make it so that I can
upload all of the images in a directory (or at least more than one) without
having to type each one in and submit it?

Your help would be very much appreciated!

Thanks,

Brandon Paul



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php