Log message #1032952

# At Username Text
# Sep 12th 2009, 10:09 Dimatter savant: i never knew the diff between as $key => $value or as $key only
# Sep 12th 2009, 10:08 savant Dimatter: see the first foreach() loop
# Sep 12th 2009, 10:08 Dimatter savant: perfect. thank you ! i guess i need to check out the php's manual to figure out what u did
# Sep 12th 2009, 10:07 Spirit lol, nope
# Sep 12th 2009, 10:07 savant Spirit: that was to Dimatter, sorry
# Sep 12th 2009, 10:07 Spirit where?
# Sep 12th 2009, 10:06 savant try that
# Sep 12th 2009, 10:06 savant http://pastie.org/614657
# Sep 12th 2009, 10:05 Dimatter savant: eh ..say what ? :)
# Sep 12th 2009, 10:05 savant Dimatter: heh. you aren't passing by reference in the foreach, only by value :P
# Sep 12th 2009, 10:05 Spirit the default .htaccess
# Sep 12th 2009, 10:05 Spirit umm, yes, i have
# Sep 12th 2009, 10:04 Dimatter savant: $categories
# Sep 12th 2009, 10:04 Dimatter savant: http://pastie.org/614656 this is how i want it
# Sep 12th 2009, 10:04 Dimatter Spirit: do you have the .htaccess file in the root of your application ?
# Sep 12th 2009, 10:04 Spirit but i'm not found AddModule mod_rewrite.c
# Sep 12th 2009, 10:04 Spirit i found LoadModule rewrite_module libexec/httpd/mod_rewrite.so
# Sep 12th 2009, 10:04 Spirit win xp
# Sep 12th 2009, 10:04 Spirit in httpd.conf
# Sep 12th 2009, 10:03 savant operating system?
# Sep 12th 2009, 10:03 Spirit i'm not sure
# Sep 12th 2009, 10:03 savant Spirit: do you have mod_rewrite correctly enabled? What operating system are you running?
# Sep 12th 2009, 10:03 Spirit cake is the directory where cake is installed
# Sep 12th 2009, 10:03 Spirit i have other site inside my server
# Sep 12th 2009, 10:03 Dimatter Spirit: try without
# Sep 12th 2009, 10:02 savant Dimatter: I have no idea as to how you want to have the array
# Sep 12th 2009, 10:02 Dimatter Spirit: u dont need /cake/
# Sep 12th 2009, 10:02 Spirit The requested URL /cake/posts/index was not found on this server.
# Sep 12th 2009, 10:02 Spirit the browser tell me: Not Found
# Sep 12th 2009, 10:02 Dimatter savant: check out the last paste. first u see the debugs (and everything is correct) but later u see the output of the whole $catgories array and the "new_count" is not there
# Sep 12th 2009, 10:02 Spirit when i go to http://localhost/cake/posts/index
# Sep 12th 2009, 10:01 Spirit ok :)
# Sep 12th 2009, 10:01 savant Spirit: ask your question and someone can try :)
# Sep 12th 2009, 10:01 Spirit can someone give me a hand?
# Sep 12th 2009, 10:01 Spirit i have some problem to use the blog tutorial
# Sep 12th 2009, 10:00 Spirit hi at all
# Sep 12th 2009, 09:54 Dimatter savant: sec, i think i found the prob
# Sep 12th 2009, 09:54 savant and I can give you the proper syntax for a small fee :P
# Sep 12th 2009, 09:54 savant Dimatter: how about you give me what you want it to look like if there is a new_count...
# Sep 12th 2009, 09:54 Dimatter ohh ... hold up
# Sep 12th 2009, 09:53 Dimatter savant: this is just weird http://pastie.org/614644