Search found 14 matches
- Thu Apr 27, 2006 3:42 pm
- Forum: PHP - Code
- Topic: Multidimensional Array Advice
- Replies: 6
- Views: 337
- Thu Apr 27, 2006 3:32 pm
- Forum: PHP - Code
- Topic: Multidimensional Array Advice
- Replies: 6
- Views: 337
- Thu Apr 27, 2006 3:25 pm
- Forum: PHP - Code
- Topic: Multidimensional Array Advice
- Replies: 6
- Views: 337
Hmm, well, I didn't write that SQL statement; I found it elsewhere in the code. I'll try it, though. :) Thanks! I'm trying to store the group id, field id, and field values together, to establish a relationship between them. Then I send it back, and later one, send it to another function in another ...
- Thu Apr 27, 2006 2:38 pm
- Forum: PHP - Code
- Topic: Multidimensional Array Advice
- Replies: 6
- Views: 337
Multidimensional Array Advice
Hey all, I'm working on some code where I'm getting values from a db and comparing them to values I've gotten from a web form. It works correctly, but I don't like the format of my array I'm using because later on, I have to instantiate "custom fields" with the values. The problem is that ...
- Wed Apr 26, 2006 9:49 am
- Forum: PHP - Code
- Topic: Functions not being seen in class [SOLVED]
- Replies: 15
- Views: 1661
- Wed Apr 26, 2006 7:49 am
- Forum: PHP - Code
- Topic: Functions not being seen in class [SOLVED]
- Replies: 15
- Views: 1661
- Tue Apr 25, 2006 4:03 pm
- Forum: PHP - Code
- Topic: Functions not being seen in class [SOLVED]
- Replies: 15
- Views: 1661
- Tue Apr 25, 2006 4:01 pm
- Forum: PHP - Code
- Topic: Functions not being seen in class [SOLVED]
- Replies: 15
- Views: 1661
Sorry, this post is pretty long... After looking at the docs, it seems we're forgetting how constructor functions work. In your CER_CF_PARSER_TICKET class, you need to define a constructor method CER_CF_PARSER_TICKET - otherwise I guess it's not being extended. Try that. Yeah, I saw that after tryin...
- Tue Apr 25, 2006 3:19 pm
- Forum: PHP - Code
- Topic: Functions not being seen in class [SOLVED]
- Replies: 15
- Views: 1661
Okay! Here's what I'm getting as a result of little stubs I put in the constructors of CER_PARSER, CER_PARSER_TICKET, CER_CF_PARSER, and CER_CF_PARSER_TICKET: in cer_parser_ticket constructor in cer_parser constructor in cer_parser_ticket constructor in cer_parser constructor in cer_parser construct...
- Tue Apr 25, 2006 2:41 pm
- Forum: PHP - Code
- Topic: Functions not being seen in class [SOLVED]
- Replies: 15
- Views: 1661
Hmm, I can't echo anything (I think; is there a way to echo it out to a console/terminal?) because this code is being used underneath the surface, parsing the email, BUT I'll try to have it printed to a file. Neither functions in the subclasses I made are getting called, but the functions in the par...
- Tue Apr 25, 2006 12:32 pm
- Forum: PHP - Code
- Topic: Functions not being seen in class [SOLVED]
- Replies: 15
- Views: 1661
Yeah, it makes sense. :) But there are classes named CER_PARSER and CER_PARSER_TICKET, but they're really long, and I didn't want to take up a lot of space. :) Originally, I'd had those 2 functions in CER_PARSER and CER_PARSER_TICKET, respectively, and thought they'd behave just like all the other f...
- Tue Apr 25, 2006 10:50 am
- Forum: PHP - Code
- Topic: Functions not being seen in class [SOLVED]
- Replies: 15
- Views: 1661
Well, I did it, and it still doesn't work... I'm completely stumped; it's like the application's just passing over the calls, and I don't know why... I'm adding custom field instantiation via email to Cerberus Helpdesk; it's very crude right now, but I don't have much experience with php other than ...
- Tue Apr 25, 2006 9:59 am
- Forum: PHP - Code
- Topic: Functions not being seen in class [SOLVED]
- Replies: 15
- Views: 1661
- Tue Apr 25, 2006 9:45 am
- Forum: PHP - Code
- Topic: Functions not being seen in class [SOLVED]
- Replies: 15
- Views: 1661
Functions not being seen in class [SOLVED]
Hey, I'm having to modify a php application, and I'm having some trouble. I've added functions to a class and call them in another file, but it's like they're not even getting called. I don't understand why... I'm opening and writing a file in both functions I'm calling, as well as in a function I h...