note 110059 added to function.explode
| From: | dan dot dinu at dinuid dot ro | Date: | Sat, 15 Sep 2012 08:49:29 +0000 |
| Subject: | note 110059 added to function.explode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-190781@lists.php.net to get a copy of this message | ||
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
----
Server IP: 69.147.83.199
Probable Submitter: 213.233.93.106
----
Manual Page -- http://www.php.net/manual/en/function.explode.php
Edit -- https://master.php.net/note/edit/110059
Del: integrated -- https://master.php.net/note/delete/110059/integrated
Del: useless -- https://master.php.net/note/delete/110059/useless
Del: bad code -- https://master.php.net/note/delete/110059/bad+code
Del: spam -- https://master.php.net/note/delete/110059/spam
Del: non-english -- https://master.php.net/note/delete/110059/non-english
Del: in docs -- https://master.php.net/note/delete/110059/in+docs
Del: other reasons-- https://master.php.net/note/delete/110059
Reject -- https://master.php.net/note/reject/110059
Search -- https://master.php.net/manage/user-notes.php