<テーブル幅="100%">
if(!$_GET['city_id'])
{
$recuit_content_select = "select * from cdb_plugins_recuit where city_id= 12 limit 0,8";
$recuit_content_query = mysql_query($recuit_content_select);
while($recuit_content_row = mysql_fetch_assoc($recuit_content_query))
{
echo '
'.$recuit_content_row['recuit_name'].'
|
'.$recuit_content_row['ユーザー名'].'
|
';
}
}
else
{
$recuit_content_select = "city_id={$_GET['city_id']} の制限 0,10 から * を選択します"; $recuit_content_query = mysql_query($recuit_content_select);
while($recuit_content_row = mysql_fetch_assoc($recuit_content_query))
{
echo '
' .$recuit_content_row['recuit_name'].' | '.$recuit_content_row['ユーザー名'].' | ';
}
}
?>
表>