Click here to Skip to main content
15,348,081 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
AnswerRe: Best PHP Webmail system to access mail remotely Pin
shamly6-Jan-11 19:01
Membershamly6-Jan-11 19:01 
Questionmultiform post data using http thingies Pin
0b4m422-Dec-10 23:36
Member0b4m422-Dec-10 23:36 
AnswerRe: multiform post data using http thingies Pin
cjoki23-Dec-10 4:48
Membercjoki23-Dec-10 4:48 
QuestionConverting CGM to PDF (A4 only) Pin
pfsWrite21-Dec-10 20:47
MemberpfsWrite21-Dec-10 20:47 
QuestionSQL to multidimenisonal array [modified] Pin
MacRaider420-Dec-10 8:10
MemberMacRaider420-Dec-10 8:10 
AnswerRe: SQL to multidimenisonal array [modified] Pin
Luc Pattyn20-Dec-10 8:35
sitebuilderLuc Pattyn20-Dec-10 8:35 
GeneralRe: SQL to multidimenisonal array Pin
MacRaider420-Dec-10 8:43
MemberMacRaider420-Dec-10 8:43 
GeneralRe: SQL to multidimenisonal array [modified] Pin
MacRaider420-Dec-10 9:29
MemberMacRaider420-Dec-10 9:29 
Ok so I was making changes and having no luck, so I was going back through everything I had that I hadn't deleted and have come across something I can't figure out... sorry for the length but I think you need to see the section:
if($dayofweek == $currentDayDay) { //start if 3
          if($currentDay > $lastdayofmonth) {
            echo "<td width=100></td>";
            $currentDayDay = $currentDayDay + 1;
            $currentDay = $currentDay + 1;
          }
          else {
            echo "<td width=100>$currentDay";
		echo "<br />";
                echo "Testing with $currentDay";
			while($row = mysql_fetch_array($result)){
                                echo "Yet another test";
				echo "<br />";
				echo $row['bdayDay'];
				if($row['bdayDay'] == $currentDay) {
					echo $row['name']. " - ". $row['bdayDay'];
					echo "<br />";
				}
			}
            echo "</td>";
            $currentDayDay = $currentDayDay + 1;
            $currentDay = $currentDay + 1;
            //echo "last day of month is $lastdayofmonth and the currentday is $currentDay<br />";
          }
      } //end if 3

Ok the "Yet another test" only shows up one time, however the "Testing with $currentDay" shows up every time. If I could get it to (for a lack of better words) show up every time it would solve the array problem. Any ideas?

--- NOTE ---
When I say shows up one time I mean it loops through only the first time it gets to it (displays two lines, which is "correct")

modified on Monday, December 20, 2010 3:42 PM

GeneralRe: SQL to multidimenisonal array Pin
Luc Pattyn20-Dec-10 10:25
sitebuilderLuc Pattyn20-Dec-10 10:25 
GeneralRe: SQL to multidimenisonal array Pin
MacRaider420-Dec-10 14:46
MemberMacRaider420-Dec-10 14:46 
AnswerRe: SQL to multidimenisonal array Pin
Luc Pattyn20-Dec-10 14:59
sitebuilderLuc Pattyn20-Dec-10 14:59 
GeneralRe: SQL to multidimenisonal array Pin
MacRaider421-Dec-10 2:06
MemberMacRaider421-Dec-10 2:06 
GeneralRe: SQL to multidimenisonal array Pin
MacRaider421-Dec-10 7:35
MemberMacRaider421-Dec-10 7:35 
GeneralRe: SQL to multidimenisonal array Pin
Luc Pattyn21-Dec-10 8:02
sitebuilderLuc Pattyn21-Dec-10 8:02 
GeneralRe: SQL to multidimenisonal array Pin
MacRaider421-Dec-10 10:01
MemberMacRaider421-Dec-10 10:01 
GeneralRe: SQL to multidimenisonal array Pin
Luc Pattyn21-Dec-10 10:09
sitebuilderLuc Pattyn21-Dec-10 10:09 
GeneralRe: SQL to multidimenisonal array Pin
MacRaider421-Dec-10 14:12
MemberMacRaider421-Dec-10 14:12 
AnswerRe: SQL to multidimenisonal array Pin
schwarzenneger21-Dec-10 18:48
Memberschwarzenneger21-Dec-10 18:48 
GeneralRe: SQL to multidimenisonal array Pin
MacRaider422-Dec-10 1:40
MemberMacRaider422-Dec-10 1:40 
GeneralRe: SQL to multidimenisonal array Pin
cjoki22-Dec-10 5:24
Membercjoki22-Dec-10 5:24 
AnswerRe: SQL to multidimenisonal array Pin
cjoki22-Dec-10 5:21
Membercjoki22-Dec-10 5:21 
GeneralRe: SQL to multidimenisonal array Pin
MacRaider422-Dec-10 6:02
MemberMacRaider422-Dec-10 6:02 
GeneralRe: SQL to multidimenisonal array Pin
cjoki22-Dec-10 6:47
Membercjoki22-Dec-10 6:47 
GeneralRe: SQL to multidimenisonal array Pin
MacRaider422-Dec-10 8:06
MemberMacRaider422-Dec-10 8:06 
Questionwireless internet not running on vmware Pin
AmbiguousName20-Dec-10 6:32
MemberAmbiguousName20-Dec-10 6:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.