Is it possible to INSERT INTO multiple tables for this?
SELECT first_name, last_name, feet, inche, weight, dob, college, pob, experience, cy, py
FROM player
INNER JOIN attribute ON player.pid = attribute.pid
INNER JOIN history ON player.pid = history.pid
INNER JOIN salary ON player.pid = salary.pid
How do I join the tables for:
if(!($stmt = $mysqli->prepare("INSERT INTO player(first_name, last_name) VALUES (?, ?)"))){
echo "Prepare for player failed: " . $stmt->errno . " " . $stmt->error;
}
if(!($stmt->bind_param("ss", $_POST['first_name'],$_POST['last_name']))){
echo "Bind failed: " . $stmt->errno . " " . $stmt->error;
}