Beekiller's Forum Posts

  • The php file connects to the database and I can do it, the problem is in the results chains of the script, since it is not well designed or it does not give me the value of id corresponding to username and password.

    I think the error is here cause that echo dont do nothing

    $qz = "SELECT id FROM members where username='".$username."' and password='".$password."'" ;

    $qz = str_replace("\'","",$qz);

    $result = mysqli_query($con,$qz);

    while($row = mysqli_fetch_array($result))

    {

    echo $row['id'];

    }

    mysqli_close($con);

    ?>

  • How i can do that. I am learning by my own php but i dont know do that at this moment.

    I can have a ajax.lastdata with all the sentence SELECT id FROM, But not the result id from my database

  • The URL works fine.

    Its AJAX or something of the script to give me the ID and that ID put it into de Ajax.Lastdata and then put on the variable UserID

  • I can try the last part later, cause i think all is ok...

  • I use the https://www.construct.net/en/tutorials/simple-login-using-a-mysql-database-312 tutorial.

    The Script is conected to the Database.

    This is the Script

    This is the AJAX.LastData Nothing

    I don´t know where is the issue.

    This is the eventshit

    Please i need some help i cant finish this part

    BTW i use always HTTPS protocol into the webserver also into the game.

    Tagged:

  • i see; i try to find this information

    Thanks a lot

  • Good morning to all

    I have within my therapeutic project I want to calculate the reaction time that a person takes to destroy an object (arrow) between destruction and destruction, and that it goes out once after another and I want to calculate said time.

    I have a global variable called total time, with the function For every 1s add 1 to said variable.

    I have a global variable called destruction time, which is set to destroy the object for every 1 s add 1 to that variable.

    For Time 1 it would be T reaction total time - destruction time and we add it to another variable, but I want it to always calculate it and this is where I am lost.

    Thanks in advance.

  • Thanks for info ;)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The new Beta Version 272 its not compatible with proui addon. I have big error.

    I use a clean R272 and when i install proui 1,817 crash and put that in image; in version 271-2 doesnt appear

  • They are in other scenes, one scene is the option, another scene is the gamescene; into game scene exist diferente layers.

  • What interests me most about opening the game area to the options area in a new tab is to assess whether I can modify these options live, for example the size of the stimulus, its speed ... all the variables that I have at the moment and that I give an example in the debugging version if I can modify.

  • Isnt more easy like?

  • The question is i want to take open one scene in another window or new tab.

    When i select the options for playing the game, and i touch the button play, the scene for game open in another tab o screen.

  • I am creating a Visual training Game; and i want if it possible when i put all the options for the game to working; when i push the button for play, open the game into another tab of chrome or second window; like a second windows game.

    Its possible?

    Thanks

  • I have a game with a lot of options, and would like see the options scene in one tab or window and the playgame in another.

    Could it be?