# Dynamic problem!

**URL:** <https://forum.kirupa.com/t/dynamic-problem/86516>\
**Category:** Uncategorized\
**Created:** [April 13, 2005, 3:26pm UTC](https://forum.kirupa.com/t/dynamic-problem/86516 "2005-04-13T15:26:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![danulf](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/danulf/32/555_2.png) [@danulf](https://forum.kirupa.com/u/danulf)\
**Post date:** [April 13, 2005, 3:26pm UTC](https://forum.kirupa.com/t/dynamic-problem/86516/1 "2005-04-13T15:26:54Z")

</div>

here’s the deal:  
I have a timer in my game, and then when all the levels are done, all the times are showing…  
Now I also have a password-thing, so that ppl can skip levels.  
Then, when you’ve made all the levels, it just says “time: none” on those that you skipped, but that totally messes up a Total Time that I have.  
It says nonenonenone4025 and so on…

Is there a way to say

```php
If there's a number in 'time1', add that to total 

```

or something…  
Cause now all I have is:

```php
total = time1 + time2 + time3 + time4 ...........

```

Hope you understand the question, and that you have a solution 😃
