> フロント機能 > eccubeのphpファイル内でのインクルード文に関してのご質問 |
フロント機能
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
bio |
投稿日時: 2016/3/30 17:54
対応状況: −−−
|
一人前 登録日: 2013/3/13 居住地: 投稿: 81 |
Re: eccubeのphpファイル内でのインクルード文に関してのご質問 Red様
お時間を頂きまして本当に感謝いたします。 試しましたが、やはりsyntax error, unexpected '<' のエラーが出ます。 **状況を確認しますと、新設ブロックの抽出phpファイルの以下の様な$where句の直下に位置します。何かお分かりになりますでしょうか。 $objQuery = new SC_Query_Ex(); // 商品一覧を取得 $col $from $where = $_GET['product_id'].'!= T1.product_id and T2.del_flg = 0 and T1.class_id IN (?)'; // $arrval で指定するカテゴリIDの数だけ ? を増やす if ($_GET['category_id'] == 'env') { <!--{include_php file=$smarty.const.HTML_REALDIR|cat:"test.php"}--> }else if{ * Test.php(自作したインクルードファイル内の内容) <?php If { $arrval = Array(xxx); }else if { $arrval = Array(xxx); }else if { $arrval = Array(xxx); }else if { $arrval = Array(xxx); }else if { ・・ } ?> |
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
eccubeのphpファイル内でのインクルード文に関してのご質問 | bio | 2016/3/27 0:25 |
Re: eccubeのphpファイル内でのインクルード文に関してのご質問 | bio | 2016/3/30 15:16 |
Re: eccubeのphpファイル内でのインクルード文に関してのご質問 | red | 2016/3/30 15:59 |
Re: eccubeのphpファイル内でのインクルード文に関してのご質問 | bio | 2016/3/30 16:31 |
Re: eccubeのphpファイル内でのインクルード文に関してのご質問 | red | 2016/3/30 16:52 |
» Re: eccubeのphpファイル内でのインクルード文に関してのご質問 | bio | 2016/3/30 17:54 |
Re: eccubeのphpファイル内でのインクルード文に関してのご質問 | red | 2016/3/30 18:41 |
Re: eccubeのphpファイル内でのインクルード文に関してのご質問 | bio | 2016/3/30 19:16 |
Re: eccubeのphpファイル内でのインクルード文に関してのご質問 | red | 2016/3/30 19:23 |
Re: eccubeのphpファイル内でのインクルード文に関してのご質問 | bio | 2016/3/30 21:48 |