此时此刻,我把管理者一边拖到现场,允许现场管理人进入飞行编号,数据库将删除所有飞行人员的姓名。 然而,在我取得结果时,正视着这样的一点:
<编码> The following people are on this Airlines. 以下人员乘坐这架飞机:Joe Blaggs。 The following people are on thisjet Gareth Roberts 以下人员乘坐这架飞机:Joe Blaggs。 The following people are on thisjet Gareth Roberts 以下人员乘坐这架飞机:Joe Blaggs。 The following people are on thisjet Gareth Roberts 以下人员乘坐这架飞机:Joe Blaggs。 The following people are on thisjet Gareth Roberts The following people are on thisjet Joe Blaggs
你们有这样的想法:显然由于政治部的原因而构成姓名:
我怎么能这样说:
2021号航班上的乘客是:
- Name one
- Name two
- Name three
在此,我欢迎任何建议!
<?
include("logon/include/session.php");
$loggedinuser = $session->username;
$passengerNo = $_POST[ enteredPassNo ];
$theflightno = $_POST[ enteredflightNo ];
$query1 = mysql_query("SELECT p.surname, p.forename, p.passNo FROM PASSENGER p WHERE p.passNo = $passengerNo ");
while($row = mysql_fetch_array($query1))
{
echo "Welcome to the site" . " " . $row[ forename ] ." ";
}
echo mysql_error();
$query2 = mysql_query("SELECT p.surname, p.forename, p.passNo, p.flightNo FROM PASSENGER p, FLIGHT_INFO f WHERE p.flightNo = $theflightno ");
while($row = mysql_fetch_array($query2))
{
echo "以下人员正在这一飞行中。" . "</ br> ";
echo $row[ forename ] ." " . $row[ surname ];
echo "</ br>";
echo mysql_error();
}
echo mysql_error();
?>
It s query2 that is more the focus, query1 is being used for a few tests really! And just to clarify, the values stored in $passengerNo and $theflightNo are being correctly assigned after being posted from the form.
许多感谢,
送文函
www.un.org/spanish/ecosoc EDIT:关于格式的大型建议,但它仍在印刷之中:
以下人员正在这一飞行中。
- Gareth Roberts
- Joe Bloggs
- Gareth Roberts
- Joe Bloggs
- Gareth Roberts
- Joe Bloggs
而不是印刷,
以下人员正在这一飞行中。:-
- Gareth Roberts
- Joe Bloggs
仅一次: