我使用PHP的MySQL,我試圖插入3個不同的表,但第三個表沒有收到值,這是最後一個表.The想法是我想要得到的在創建用戶的新帳戶時插入到所有表中的user_id,以便當我想更新其他字段時,我將引用那個user_id,這是其他表中的外鍵。 貝婁是我的代碼: <?php
#connect to the db
require_once('db.inc.php');
?>
<?
這是我的代碼在這裏。我面臨的問題是,我想返回一個整數序列,我計劃使用一個整數ArrayList。以下是我的類實現名爲IntSequence的接口。 import java.util.*;
public class IntArray implements IntSequence {
int[] a;
public IntArray(int size) {
a = new int[