Re: [PHP] MySql: Default values

2001-04-10 Thread Andrew Rush
automatically have a timestamp inserted into a record, make a new field of type timestamp that is not null. if you don't insert any value into the timestamp field it will use the current date-time. have a great day andy -- ******* Andrew R

Re: [PHP] BUG - Someone else please verify B4 I file

2001-04-04 Thread Andrew Rush
at day andy -- ******* Andrew Rush :: Lead Systems Developer :: MaineToday.com *** "A friend of the devil is a friend of mine" - R. Hunter -- PHP General Mailing List (http://www.php.ne

Re: [PHP] Case?

2001-03-29 Thread Andrew Rush
on 3/29/01 12:14 PM, [EMAIL PROTECTED] splat open and thusly melted: > if so where I can > find them detailed in the online docs? look under switch, in control structures. -- :: Andrew Rush :: Lead Systems Developer :: MaineTod

Re: [PHP] MySQL COUNT Won't Work

2001-02-16 Thread Andrew Rush
On Friday, February 16, 2001, at 09:27 AM, Jeff Oien wrote: > $result = mysql_query($sql,$connection) > or die("Couldn't execute query."); //<$queryhttp://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list admini

RE: [PHP] counting files

2001-02-16 Thread Andrew Rush
ectory $d=opendir("path/to/my/directory"); $i=0; while($found=readdir($d)) { if($found != "." && $found != "..") { $i++; } } print("there were $i files found."); :: Andrew Rush :: Lead Systems Developer ::

[PHP] Regex Matching

2001-02-08 Thread Andrew Rush
nts i expect to get back, but has no values. any ideas what i am doing wrong? :: Andrew Rush :: Lead Systems Developer :: MaineToday.com :: :** "Crippled :but free, blind all