Axiomaltd's Recent Forum Activity

  • no, was trying this. MySQL create table $user. name "$user" and that's all =(

    and i needed, that name of table will be variable and user will chose it's name by himself =(

  • Guys, i have a big problem. i need to create separate table for each user i my database by sending user name via C2 project (meaning ajax POST), please, no question what for, just need this.

    So, can enyone explain me whre i have mistake?

    And here is the code:

    <?php

    $host = "xxx.mysql.com";

    $login = "u33678";

    $pass = "123456";

    $dbname = "u33678";

    $user = $_POST['user'];

    Header('Access-Control-Allow-Origin: *');

    Header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");

    Header("Content-Type: text/html; charset=UTF-8");

    $link = mysql_connect ($host, $login, $pass);

    mysql_select_db ($dbname , $link) or die("FUUUCK");

    mysql_query ("CREATE TABLE .$user. (id int not null auto_increment,pole1 varchar(10) not null,PRIMARY KEY(id))");

    ?>

  • one question.

    if i have another count of table rows, how i must change array size? i mean, on which parameters does array size is based?

    4 - width ? (meaning 4 table rows?)

    2 - height ? (what does it mean?)

    1-depth ? (what for?)

    is it 2d or 3d array?

  • Bro! YOU ARE THE GREATEST!!!!

    Thank you very-very much!!!

    It's that i'm looking for =))))

    Haw i can up you reputation? Can't see any button =/

  • Thanx man! Guess, i can use it for a while. But it's not exactly what i'm looking for. =/

  • up

  • p.s. i don't request any files from my server. all i need - is just request table data from table rows from online SQL DataBase, fetch an array of it, convert as json, recieve this as AJAX.LastData, push it into array in project and for each xy add a lie to list box with array.y-text.

    i need a correct php script, which will make it happens

  • no-no.

    you missed thing.

    i have an online SQL DataBase. And i need to import all table data in some rows into c2 project as listbox items.

    a little explaine - i have such rows as UserName and his contact. so i want to import this data into project on construct2 as listbox items. for each tabledata (userName and UserContact) separate listbox item.

    Can anyone help me with it?

  • any ideas?

  • Guys, help ? There are online databases. As can be realized through the Ajax a chip that for each row from the database to create items in the ListBox C2 c columns of data?

    Those. how to make the right script and how to handle the Ajax response?

    All the catch is that initially only known variables A, B, C. Accordingly, you need to at the touch of a button the request was sent to the database, and received a response from the figures in response made to the ListBox. In response Ajax - an array of JSON, but I can not load the array into the project, and the more processed.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • set css-style "opacity" -> "0"

  • i have no such problem. position it to viewportbottom.

    or,if you need textbox in upper part of screen-

    layer0 is visible ->textbox.set position->viewportleft(0);viewportbottom(0)-textbox.height

    textbox.set Y->viewportbottom(0)-textbox.y

    textbox.set size->viewportright(0), viewportright(0)/6

Axiomaltd's avatar

Axiomaltd

Member since 3 Mar, 2016

Twitter
Axiomaltd has 1 followers

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies