www.webdeveloper.com

Search:

Type: Posts; User: Kyleva2204

Page 1 of 17 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    9
    Views
    4,201

    For loops run while the condition is true. Once...

    For loops run while the condition is true. Once the condition is fake, the loop breaks. In my example, we initialize $i to 0. Our condition is to run while $i is less than the given query param...
  2. Replies
    9
    Views
    4,201

    I was demonstrating the use of array functions....

    I was demonstrating the use of array functions. And that's statement is always true. The keys aren't guaranteed to be numerical, which is why I used current.
  3. Replies
    9
    Views
    4,201

    I just got home. I replied via my phone earlier....

    I just got home. I replied via my phone earlier. Here is what the code would look like:


    <?php
    $array = array('one','two','three');

    $index = isset($_GET['index']) ? $_GET['index'] : 0;...
  4. Replies
    9
    Views
    4,201

    You over complicated that. Using my first code,...

    You over complicated that. Using my first code, make a new link to ?index=$i-1
  5. What's a ClickTAG?

    What's a ClickTAG?
  6. Replies
    9
    Views
    4,201

    View Post

    <?php
    $array = array('one','two','three');

    $index = isset($_GET['index']) ? $_GET['index'] : 0;
    for($i = 0; $i < $index; $i++)
    next($array);
    if(current($array) === false){
    reset($array);...
  7. Replies
    4
    Views
    1,017

    Ah, very cool. Not quite like what I did....

    Ah, very cool. Not quite like what I did. TagSupport is much more customizable. But thanks :). So far just glad to know I didn't waste my time.
  8. Replies
    4
    Views
    1,017

    TagSupport basically allows you to assign a class...

    TagSupport basically allows you to assign a class defintion to a custom tag. Example:
    <names:iterate names="Kyle,NogDogg">
    Name:<expression value="{#name}"/><br/>
    </names:iterate>

    and that...
  9. Is there a TagSupport implemention for PHP?

    This is an xPost from PHP:
    http://webdeveloper.com/forum/showthread.php?t=244730
  10. Replies
    4
    Views
    1,017

    PHP (Java)TagSupport Implemention?

    Hey. I've just spent the last two days creating a really good (and I think extremely comparable to) Java TagSupport class. I'm wondering if anyone call tell me if my last two days were wasted becuase...
  11. Replies
    0
    Views
    1,010

    PHP PCRE RegEx, Not matching a group ().

    Hello everyone. This isn't really related to PHP, but it's my language of choice. Regardless, I know a lot of people here are very intelligent and knoweldgable, so it doesn't matter too much.

    I...
  12. Thanks, however, I know that the query runs at...

    Thanks, however, I know that the query runs at .001 seconds. Hence:


    Am I just being to picky? A select query can run in .0005 seconds, where as a show columns runs in .001. Blah.
  13. Is there any way to speed up "DESCRIBE _TABLE_"? Perhapse Cache?

    Basically what the title says. The "Describe" function, or what every you would call it, isn't exactly slow. Don't get me wrong. However, in ratio to a SELECT query, it's about .001 seconds slower....
  14. haha. One thing at a time. Don't fuel my ADD....

    haha. One thing at a time. Don't fuel my ADD. However, I am now downloading a copy of the current source ... this will be interesting. Thanks though!
  15. I know it's pointless and unnecessary. I...

    I know it's pointless and unnecessary.


    I just like the idea. It's more visually appealing than $myClass->myvar = '';

    Just sayin'.
  16. Hey, thanks! I had actually skimmed over that...

    Hey, thanks! I had actually skimmed over that manual and at first glance it didn't look like what I was looking for.

    By the looks of it, it would appear that I need the opposite of what the __set...
  17. Do recursive class methods cause PHP to slow down by any margin?

    Basically, does this:


    class myFirstClass{
    function myFirstClass(){
    $this->otherClass = null;
    }
    function setOtherClass($otherClass){
    $this->otherClass =...
  18. [RESOLVED] @synthesize or a way to automatically create getter / setters?

    Okay, so ... is there any way to synthesize class variables in PHP, much like in Objective-C? I mean, I could easily write a class to check for all the variables in the class at start, then run...
  19. [RESOLVED] Is there anyway to do something like this? $myclass = new my_class->my_method()

    The description basically says it all, but essientally is there anyway to combine the construtor of making the class and calling the first method?

    as such:

    $my_class = new...
  20. [RESOLVED] Passing a result in a class function to another class function (object oriented)

    So, since classes are objects and such.. Can it be save to deduce that we can pass the result from one class object method to the other in this fashion?

    $this_object->get_result()->print_result();...
  21. Replies
    17
    Views
    2,837

    You should also look into the AEYNIAS Framework...

    You should also look into the AEYNIAS Framework ;).

    Very simple to use. Has the option for a dynamic page (PHP based) or just plain text. URL redirection to page (mysite.com/my_first_page/) would...
  22. Thanks NogDog :).

    Thanks NogDog :).
  23. [RESOLVED] Line Endings (not a PHP question, but I figure you should know, maybe?)

    I have some code I need to be viewable on multiple platforms (Windows, Unix, Linux, etc). Currently, my line endings were set to LF. However, Windows failed at reading LF line endings.. I tried CRLF,...
  24. are we talking about the same...

    are we talking about the same white-page/no-source problem that comes up as a 302 error in Safari? Ive had that problem a lot, and was poed by it so many times because there is no error outputted,...
  25. Replies
    4
    Views
    1,009

    AEYNIAS is a new one that just came out; give it...

    AEYNIAS is a new one that just came out; give it a try :).

    AEYNIAS

    be sure to read the readme.
Results 1 to 25 of 419
Page 1 of 17 1 2 3 4
HTML5 Development Center



Recent Articles