Re: [nyphp-talk] mysql: timestamp issue?

2008-07-02 Thread Marc Antony Vose
Hi: I had just wanted to make sure that I wasn't crazy and my understanding of how MySQL (5.0.25 is my version) works was not flawed. It seems from the responses here that I've got the column declared properly, at least. I originally asked the question because I have a different table, w

Re: [nyphp-talk] string function

2008-07-02 Thread bzcoder
chad qian wrote: How to program php to get this output?String is divided by "|". explode. http://us3.php.net/manual/en/function.explode.php ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 P

[nyphp-talk] string function

2008-07-02 Thread chad qian
An unknown string,its format is: y="tnk81|98.8$|yuhj78t|32.6$|tris78y|459.78$|." I need output format: tnk81 98.8$ yuhj78t 32.6$ tris78y459.78$ . How to program php to get this output?String is divided by "|". Thanks! chad

Re: [nyphp-talk] mysql: timestamp issue?

2008-07-02 Thread bzcoder
Marc Antony Vose wrote: Hi there. I exported this create table statement from an existing table of mine. I was just wondering if someone would enlighten me as to why my "edi_updated" timestamp column is not auto-updating when a record is updated? Well, my guess would be because your code t