PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
CREATE TABLE gamestate (`server` int(11), `clients` tinyint (3), `companies` tinyint(3), progress tinyint(3), gameyear smallint(5), gamelengthyears smallint(5), lastresponse datetime) ; INSERT INTO gamestate (`server`) VALUES (1);
Copy Clear
Copy Format Clear
<?php $q = mysqli_prepare( $mysqli, "INSERT INTO `gamestate` (`server`, `clients`) VALUES (?, ?)" ); $q->bind_param("ss", $server, $clients); $q->execute();
Show:  
Copy Clear