guero's Recent Forum Activity

  • Yes Thanks i understand but now it works fine as i want <img src="smileys/smiley1.gif" border="0" align="middle" /> no problem. i will not use this feature for score or any game option i think use with geolation <img src="smileys/smiley1.gif" border="0" align="middle" />

    Thanks for interest   <img src="smileys/smiley1.gif" border="0" align="middle" />

  • While waiting for his reply. You can read up how to delete database entry at here:

    http://www.tutorialspoint.com/mysql/mysql-delete-query.htm

    You just have to know which query to send to mysql and you can tweak base on the php scripts arcadEd provided.

    Thanks so much i can delete all data from example <img src="smileys/smiley32.gif" border="0" align="middle" />    <img src="smileys/smiley17.gif" border="0" align="middle" />   <img src="smileys/smiley17.gif" border="0" align="middle" />   <img src="smileys/smiley17.gif" border="0" align="middle" />

    Thanks so much again. also sorry ArcadEd <img src="smileys/smiley1.gif" border="0" align="middle" />

    I add my delete code below.

    <?php

    $dbhost = 'localhost';

    $dbuser = 'database name';

    $dbpass = 'password';

    $conn = mysql_connect($dbhost, $dbuser, $dbpass);

    if(! $conn )

    {

    die('Could not connect: ' . mysql_error());

    }

    $sql = 'DELETE FROM scores

            WHERE score';

    $sql = 'DELETE FROM scores

            WHERE name';

    $sql = 'DELETE FROM scores

            WHERE id';

    mysql_select_db('database name');

    $retval = mysql_query( $sql, $conn );

    if(! $retval )

    {

    die('Could not delete data: ' . mysql_error());

    }

    echo "Deleted data successfully\n";

    mysql_close($conn);

    ?>

  • string1 = "name1|number1|name2|number2|name3"

    you can get:

    name1 by calling "tokenat(string1,0,"|")"

    name2 by calling "tokenat(string1,2,"|")"

    etc..

    tokenat explaination:

    https://www.scirra.com/manual/126/system-expressions

    To delete from the database, you have to create a new php script to send query to the database to delete what you want to delete as it is not included inside ArcadEd php files.

    Thansk so much i tried tokenat and it works thanks.bu i dont know how i delete database everry time? please help ArcadEd

    Ouote for help

  • Help please :) ArcadEd

  • Hi,

    I follow the tutorial the link below.

    scirra.com/tutorials/346/online-high-score-table-ajax-php-mysql

    i can save data to database.there is two problem then this point.First my data saves with integrated text like "name1|number1|name2|number2|name3...so is there any way clean previous data ? and if i get data with ajax how can i separate text before and after "|" charecter.

    I wait your help.

    Regards,

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Please can you add a feature which call admob ads when we want? as we know admob ads stay screen along all game.

  • Very nice. keep develop it .we need this :)

  • MDEV Ok I sent :)

  • hi, it looks good, i like the simple graphics

    Thanks mineet <img src="smileys/smiley1.gif" border="0" align="middle" /> im happy you like it <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Soybean check out mail box :)

  • Fabricio12 ok i sent :)

  • Hello Guero could help making a tutorial for integrating LeadBolt the apk exported to PhoneGap.

    I dont remember how i did so i cant make tutorial but i can send an example android file about this.if you want? you can see how it works in eclipse with file.

guero's avatar

guero

Member since 14 Aug, 2012

None one is following guero yet!

Connect with guero

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies