# Calendar-problems

**URL:** https://forum.kirupa.com/t/calendar-problems/124136
**Category:** Uncategorized
**Created:** [September 30, 2004, 9:33am UTC](https://forum.kirupa.com/t/calendar-problems/124136 "2004-09-30T09:33:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![pennybridge](https://avatars.discourse-cdn.com/v4/letter/p/94ad74/32.png) [@pennybridge](https://forum.kirupa.com/u/pennybridge)
#### Post date: [September 30, 2004, 9:33am UTC](https://forum.kirupa.com/t/calendar-problems/124136/1 "2004-09-30T09:33:20Z")

</div>

Fellow kirupians!

Hope someone can help me with this.

I have a calendar-class and I want to see if there is a post in my database for any of the dates. I was thinking a nested loop, the first one loops through the dates of the month and the nested one compares variables with the date.

Ex.  
loadVariablesNum(“[http://url/page.asp](http://url/page.asp)”, 0)

for (q = 1; q \<= Days; q++){  
//load ‘day-symbol’  
for(x = 1; x == 10; x++){  
if(q == someArray[x]){

//someArray[] from loadVariablesNum

```
                  //mark day...
             }
         }

```

Could be a stupid question but I´m new at this…  
Very thankful for all help!
