PHP -> Construct 2 ERROR

0 favourites
  • 6 posts
From the Asset Store
Casino? money? who knows? but the target is the same!
  • Hello guys, im trying to create a game and all connect with php -> Mysql;

    example:

    I have a PHP that catch information about character in mysql

    and i have another php that catch information of Monters in mysql.

    and when i did this, the construct just load one php per time, and dont reload another.

    example:

    what i need to do? Create a loading layout?

    Thanks

  • matheusben

    Hello guys, im trying to create a game and all connect with php -> Mysql;

    example:

    I have a PHP that catch information about character in mysql

    and i have another php that catch information of Monters in mysql.

    and when i did this, the construct just load one php per time, and dont reload another.

    what i need to do? Create a loading layout?

    Thanks

    Your post follows none of the Bug Reporting Requirements and as such, will be closed automatically by Ashley.

    If this is just a query, then this is entirely the wrong section as this is for bugs in the actual C2 program, and you should then post your query in the 'How Do I' section.

    If you really do think you have found a bug, then please ensure to follow the reporting requirements fully.

  • It's a wrong section. Post it to "How do I".. .and you definitely have to show some more info. How do you call PHP in C2? How do you return data to C2? is it a plain text or JSON (keep in mind JSON structure for C2 is a bit different)? Just describe the problem somehow that we could understand what is going on. Right now you just wrote almost something like "it doesn't work - here is the blank screen".

  • In load character im calling like this:

    example of output in PHP:

    3|1|ZeMario|1|0|0|25|12000|20000|20000|20000|0|4167|1106|5|5|5|5|5|10|5|10|200|10|0|

    And in monters is like this:

    Example of output:

    1|Warrior|1|100|500|1000|20000|10|10|10|10|1000|20|20|100|1|

  • matheusben

    Why have you ignored my post?

    Your second post also doesn't follow the guidelines.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Closing as not a bug.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)