string 내의 $ 호출들 일괄 변환.
This commit is contained in:
@@ -53,18 +53,18 @@ for($i=0; $i < 21; $i++) {
|
||||
|
||||
for($k=0; $k < 10; $k++) {
|
||||
$gen = MYDB_fetch_array($result);
|
||||
$name[$k] = $gen[name];
|
||||
$nation[$k] = $gen[nation];
|
||||
$data[$k] = $gen[data];
|
||||
$color[$k] = $gen[color];
|
||||
$pic[$k] = $gen[picture];
|
||||
$name[$k] = $gen['name'];
|
||||
$nation[$k] = $gen['nation'];
|
||||
$data[$k] = $gen['data'];
|
||||
$color[$k] = $gen['color'];
|
||||
$pic[$k] = $gen['picture'];
|
||||
if($color[$k] == "") $color[$k] = $_basecolor4;
|
||||
if($nation[$k] == "") $nation[$k] = " ";
|
||||
/*
|
||||
if($pic[$k] == "") {
|
||||
echo "<td align=center> </td>";
|
||||
} else {
|
||||
$imageTemp = GetImageURL($gen[imgsvr]);
|
||||
$imageTemp = GetImageURL($gen['imgsvr']);
|
||||
echo "<td align=center><img src={$imageTemp}/{$pic[$k]}></img></td>";
|
||||
}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user