paulaAnna's Recent Forum Activity

  • I managed to get the variable normally.

    Now, when I'm using the database it does not enter the error.

    Can anyone help me?

    PHP

    if($_GET['mode']=="login") {

        $matricula = $_GET['matricula'];

        $resultado = pesquisarJogador($matricula);

        while ($linha = mysql_fetch_array($resultado)) {

               $nome = $linha['nome'];

               if(!empty(nome)){

                   echo "ok";

               }

        }

    }

    CONSTRUCT

    <img src="http://www.imagebam/image/3d2ba4199192741" border="0" />

  • How do I retrieve a variable? I saw some examples and I'm not getting.

    I tried taking the variable $name, and also with the echo and I could not.

    Displays only ERROR

    PHP

    <?php

    if ($_GET['mode']=="load") {

    $name = "anna";

    //echo "ok";

    }

    ?>

    <img src="http://wwwgebam/image/11fcfb196130652" border="0" />

    imagebam/image/11fcfb196130652

  • I managed to solve

  • how I define the variable on startup?

  • I have two sprites (and sprite1 sprite2), and would like when placing your mouse over a sprite, the other to appear. The problem is when I take the mouse, the sprite2 continues. Can anyone help me?

    CODE:

    MOUSE | cursor ir over sprite1|sprite2 set position(x,y)

  • Assuming a programming code

    int (int value1, int value2) {

    return value1 + value2;

    }

    The values ??passed by parameters should be collected in the game. For example: value1 is the number of times that the character died, and value2 is the score.

    My question is: Is it possible to take these values ??in the game and do the calculation or test in any compiler?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Somebody?

  • More like this:

    I have a screen I need to do a test table, the user in the game that will put the values??. That done, he will give the compiler the result is worked out.

    Is it possible?

  • Guys,

    There is the possibility of integrating a compiler behind the construct?

    For example: Suppose I have a game he makes a programming operation and then test this expression in a compiler.

    There is that possibility?

  • Hello Guys,

    I'm having problems with PHP + Ajax.

    The problem is that I am not knowing where to put my. Php

    I made an example by putting the folder C: \ Program Files \ Apache Software Foundation \ Apache2.2 \ htdocs \ construct, but failed.

    Can anyone help me?

    IMAGE

    imagebam.com/image/ffa2ae185798372

    PHP

    <?php

    if ($_GET['mode']=="save") {

    $score = $_GET['score'];

    }

    $fp = fopen("testFile.txt", "a");

    $escreve = fwrite($fp, "Test MSG");

    fclose($fp);

    ?>

paulaAnna's avatar

paulaAnna

Member since 19 Apr, 2012

None one is following paulaAnna yet!

Trophy Case

  • 12-Year Club

Progress

12/44
How to earn trophies