View Single Post
  #4 (permalink)  
Old 04-20-09, 11:53 PM
Nikas Nikas is offline
Coding Addict
 
Join Date: Jun 2005
Location: Singapore
Posts: 377
Thanks: 0
Thanked 1 Time in 1 Post
Hey, I went to do a research and found out that maybe I can use & to get reference. But I'm not sure how it applies to my case. Also, the moment I removed the global. The result is what I wanted but with a small error.

PHP Code:

NoticeUndefined variablenewDate in C:\xampp\htdocs\dms\dms_admin\classes\function.inc.php on line 148

Array
(
    [
0] => 2009-04-20
    
[1] => 2009-04-21
    
[2] => 2009-04-22
    
[3] => 2009-04-24
    
[4] => 2009-04-25
)


NoticeUndefined variablenewDate in C:\xampp\htdocs\dms\dms_admin\classes\function.inc.php on line 148

Array
(
    [
0] => 2009-04-04
    
[1] => 2009-04-05
    
[2] => 2009-04-06
)


NoticeUndefined variablenewDate in C:\xampp\htdocs\dms\dms_admin\classes\function.inc.php on line 148

Array
(
    [
0] => 2009-04-01
    
[1] => 2009-04-02
    
[2] => 2009-04-03
)


NoticeUndefined variablenewDate in C:\xampp\htdocs\dms\dms_admin\classes\function.inc.php on line 148

Array
(
    [
0] => 2009-04-09
    
[1] => 2009-04-07
    
[2] => 2009-04-08
)


NoticeUndefined variablenewDate in C:\xampp\htdocs\dms\dms_admin\classes\function.inc.php on line 148

Array
(
    [
0] => 2009-04-10
    
[1] => 2009-04-11
    
[2] => 2009-04-12

Reply With Quote