差分発生行の前後
無視リスト:
コミット日時:
2010/02/28 22:28:26 (14 年前)
コミッタ:
sorshi
ログメッセージ:

SQLite採用

ファイル:

凡例:

変更無し
追加
削除
更新
コピー
移動
  • trunk/install/php/selectcaptureimage.php

    r85 r94  
    7474FROM foltia_subtitle , foltia_program ,foltia_station   
    7575WHERE foltia_program.tid = foltia_subtitle.tid AND foltia_station.stationid = foltia_subtitle.stationid  
    76  AND foltia_subtitle.pid = '$pid'   
     76 AND foltia_subtitle.pid = ?   
    7777  
    7878        "; 
    79         $rs = m_query($con, $query, "DBクエリに失敗しました"); 
    80 $rows = pg_num_rows($rs); 
    81 if ($rows == 0){ 
     79//      $rs = m_query($con, $query, "DBクエリに失敗しました"); 
     80$rs = sql_query($con, $query, "DBクエリに失敗しました",array($pid)); 
     81$rowdata = $rs->fetch(); 
     82if (! $rowdata) { 
    8283        print "  <p align=\"left\"><font color=\"#494949\" size=\"6\">キャプチャ画像</font></p> 
    8384  <hr size=\"4\"> 
     
    8788 
    8889}else{ 
    89 $rowdata = pg_fetch_row($rs, 0); 
    90  
    9190print "  <p align=\"left\"><font color=\"#494949\" size=\"6\">キャプチャ画像</font></p> 
    9291  <hr size=\"4\"> 
track feed