CREATE TABLE `db_test`.`tb_test` ( `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY , `carname` INT NOT NULL , `drivername` INT NOT NULL , `flag_test` TINYINT NOT NULL ) ENGINE = MYISAM ;then assoc array on outside must have look like this:
$MyCar = array();
$MyCar[0] = array(
'name' => "toyota",
'voditel' => array("alex"),
'dr_test' => array(1),
);
well next $MyCar[1] must have data from next record of table tb_test, how to get it in?


Sign In
Create Account


Back to top









