www.webdeveloper.com

Search:

Type: Posts; User: stefan2

Search: Search took 0.01 seconds.

  1. Replies
    18
    Views
    6,907

    Prototype I won't be needing that many objects, but I guess...

    I won't be needing that many objects, but I guess I can better do things the efficient way now, than rewriting my entire code of the game too make it run properly, in the end.

    Also I will be...
  2. Replies
    18
    Views
    6,907

    Prototype Yeah you got a point there. When I was doing...

    Yeah you got a point there.
    When I was doing Java programming at college, they taught us to write neat code rather than the most efficient code.

    I'm actually (trying) to make a RTS game, with...
  3. Replies
    18
    Views
    6,907

    Prototype Thanks for the reactions. I got the answer to...

    Thanks for the reactions.

    I got the answer to my question.

    function Dog(name) {
    this.name = name;
    }

    Dog.prototype.bark = function () {
    // some code
  4. Replies
    18
    Views
    6,907

    Prototype Best way to create a reusable object/class

    Hey,
    I'm new to OOP in javascript.
    What I have been doing so far to make a "class"/Reusable object is this:



    function Dog(){
    this.name name;

    this.bark = function(){
  5. Replies
    0
    Views
    1,308

    Problem selecting data. (Inner join)

    Hey,
    I have:
    - a table with match/clanwar data in it (time,date,opponent,etc.)
    - a table with groups in it. (name and description of the group)
    - a table that relates the groups table to the wars...
  6. Ahh stupid i didnt think of that. But you mean...

    Ahh stupid i didnt think of that.

    But you mean that if a member is in 3 groups you have 3 records for that member in that table right?
  7. PHP/SQL Selecting all records with the id's from a comma seperated list.

    I have a table with groups:
    groups(id,name)

    And i have a table with members:
    members(id,name,groups)

    Each member can join multiple groups. So for example a member could be in the "php...
  8. I allready found the problem in my script. ...

    I allready found the problem in my script.

    after the first while loop was executed once, i had to retrieve the threads data from the database again and save it to $row_threads again....
  9. thanks, ill try that when i have some time. ...

    thanks, ill try that when i have some time.

    But i read in the php manual that the mysql_result function is slow compared to the fetch array functions.

    Is this anything significant? I mean for...
  10. thanks for your reply. But the mysql_result...

    thanks for your reply.

    But the mysql_result function returns only 1 cell. I need a whole row since i have to show the category title + description and need the ID to get the threads under the...
  11. Problem displaying all threads in seperate categories.

    hey

    i am trying to make a simple forum with just the basic functions like creating topics and posting.

    I have a viewthreads.php and a viewtopics.php.
    I have a database table with categories in...
Results 1 to 11 of 11
HTML5 Development Center



Recent Articles