note 110059 deleted from function.explode by googleguy
| From: | googleguy@php.net | Date: | Sat, 15 Sep 2012 16:28:05 +0000 |
| Subject: | note 110059 deleted from function.explode by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-190788@lists.php.net to get a copy of this message | ||
Note Submitter: dan dot dinu at dinuid dot ro
----
Hello,
From the begining i whant to tell you that i'm not so experienced in php.
I have a table in mysql named "5_timp_executie" and in it i have these fields: p1, p2, p3,
p4, total. In the fierst 4 fields i whant to imput numbers (that represent minutes and seconds) and
in the las i whant to see the total value.
example:
p1 p2 p3 p4 total
1:50 50 2:50 5 total
p1 = represent 1 minute and 50 seconds;
p2 = 50 seconds
p3 = 2 minutes and 50 seconds;
p4 = 5 sec
total = i whant to see sum of the minutes and seconds have been imput in the fierst 4 fields
ps 1) all the fields are integer tipe
ps 2) i used a mask to split my numbers automaticaly xx:xx
thank you for you help,
dan