tetuan's Recent Forum Activity

  • I use phonegap. It is really easy to use...

    https://build.phonegap.com/apps

  • Hi, I have a firebase database entries containing sentences on different English words.

    I need to make search based on a keyword (for example : "apple" ) and display the sentence or entry containing the "apple").

    Is this possible? Can you share your ideas? thanks any way...

  • Hi....

    It is great job, Can I ask a a question?

    How can you manage to save online? Which platform do you you use?

    Can you please give a short information? Thanks a lot anyway

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi,

    Does anybody have the pdf maker plugin?

    The link to download is not working.. It would be great if someone shares it again... thanks

  • thanks a lot, it really works

  • Ok I got it this way...

    [quote:3nmqwjjo]<?php

    $servername = "localhost";

    $username = "tetuan_construct";

    $password = "constructconstruct";

    $dbname = "tetuan_construct2";

    // Create connection

    $conn = mysqli_connect($servername, $username, $password, $dbname);

    // Check connection

    if (!$conn) {

    die("Connection failed: " . mysqli_connect_error());

    }

    if(isset($_GET['name']) && isset($_GET['score']) && isset($_GET['user']) && isset($_GET['idno'])){

    $name = $_GET['name'];

    $score = $_GET['score'];

    $user = $_GET['user'];

    $idno = $_GET['idno'];

    }

    $sql = "UPDATE scores SET user='$user',score='$score',name='$name' WHERE id=$idno";

    if (mysqli_query($conn, $sql)) {

    echo "Record updated successfully";

    } else {

    echo "Error updating record: " . mysqli_error($conn);

    }

    mysqli_close($conn);

    ?>

  • I use this edit code, but it doesnt work:

    [quote:aity22d8]<?php

    $db = "tetuan_construct2";//Your database name

    $dbu = "tetuan_construct";//Your database username

    $dbp = "constructconstruct";//Your database users' password

    $host = "localhost";//MySQL server - usually localhost

    $dblink = mysqli_connect($host,$dbu,$dbp,$db);

    if(isset($_GET['id'])){

    $name = mysqli_real_escape_string($dblink,$_GET['id']);

    $result = mysqli_query($mysqli, "UPDATE scores SET name='$name',user='$user',score='$score' WHERE id=$id");

    if($sql){

    echo 'Success';

    }else{

    echo 'Error';

    }

    }else{

    echo "Add ?name=NAME_HERE&score=1337 to the tags.";

    }

    mysqli_close($dblink);

    ?>

  • Hi, I can add to my game data to mysql with the code below, but I need help on how to edit published data by using id number,

    I couldn't create the php code to edit the data by id number? I really need help...

    [quote:3hrcfudm]<?php

    $db = "tetuan_construct2";//Your database name

    $dbu = "tetuan_construct";//Your database username

    $dbp = "constructconstruct";//Your database users' password

    $host = "localhost";//MySQL server - usually localhost

    $dblink = mysqli_connect($host,$dbu,$dbp,$db);

    if(isset($_GET['name'])){

    $name = mysqli_real_escape_string($dblink,$_GET['name']);

    $sql = mysqli_query($dblink, "INSERT INTO `$db`.`scores` (`id`,`name`) VALUES ('','$name');");

    if($sql){

    echo 'Success';

    }else{

    echo 'Error';

    }

    }else{

    echo "Add ?name=NAME_HERE&score=1337 to the tags.";

    }

    mysqli_close($dblink);

    ?>

  • Hi, I made my second game, which is a hex puzzle game grouped under different themes.The task is to search the hidden words in our hex blocks under the topic title and challenge to find the words.

    I NEED YOUR FEEDBACK on the game...

    Download:https://play.google.com/store/apps/details?id=com.wordaholic.myapp

    Online: http://word-in-sentence.com/hex-game/

  • Hi,

    I created my admob ads using CordovaAdmob and published my app through phonegap, and

    everything works fine except one thing:

    Ads are always shown in the testing mode even if I disable testing mode?

    Any ideas or solutions? thanks

  • Hi,

    I have 10 sprite instances and they have "choose" instance variable, which is 0 value.

    When I touch one of them, "choose" instance var becomes "1" and I can move it to the target.

    Everything is okay up to here..

    But I want to know this:

    Let's say I touched one sprite instance and it gets the value"1", but later I change my mind and I want to move an another sprite instance.

    How can I reset previous one's value to "0"when I touch the new one?

    Any way?

tetuan's avatar

tetuan

Early Adopter

Member since 29 Apr, 2017

None one is following tetuan yet!

Connect with tetuan