チェンジセット 94: trunk/install/php/view_syabas.php
- コミット日時:
- 2010/02/28 22:28:26 (15 年前)
- ファイル:
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
trunk/install/php/view_syabas.php
r86 r94 56 56 FROM foltia_subtitle , foltia_program ,foltia_station 57 57 WHERE foltia_program.tid = foltia_subtitle.tid AND foltia_station.stationid = foltia_subtitle.stationid 58 AND foltia_subtitle.pid = '$pid' 59 60 "; 61 $rs = m_query($con, $query, "DBクエリに失敗しました"); 62 63 $rows = pg_num_rows($rs); 64 if ($rows == 0){ 58 AND foltia_subtitle.pid = ? "; 59 // $rs = m_query($con, $query, "DBクエリに失敗しました"); 60 $rs = sql_query($con, $query, "DBクエリに失敗しました",array($pid)); 61 $rowdata = $rs->fetch(); 62 if (! $rowdata) { 65 63 print ""; 66 64 exit; 67 65 }else{ 68 $rowdata = pg_fetch_row($rs, 0);69 70 66 $title = $rowdata[2]; 71 67 $episode = $rowdata[3];