+
1 7 7

: PHP

  1. #1
    Lindows       Lindows
    31.08.2007
    172
    ()
    0
    : 0 (: 0).

    Exclamation PHP

    , .. : header.inc, footer.inc... .

    :

    :
    	
    while($row=mysql_fetch_array($result)) {
       $date=$row[date];
       $title=$row[title];
       $text=substr($row[text], 0, 50).'...';
       $id=$row[id];
    }
    , ?

  2. #2
    themylogin       themylogin
    31.03.2007
    1,178
    ()
    0
    : 0 (: 0).

    Smarty, Blitz
    When it rains, it pours. .

  3. #3
    1nsk   Group alfa ()     alfa
    14.05.2006
    1nsk.ru
    3,736
    ()
    4
    : 1 (: 1).

    Lindows, , .
    -

  4. #4
    Lindows       Lindows
    31.08.2007
    172
    ()
    0
    : 0 (: 0).

    , ...

  5. #5
    fobos       fobos
    22.12.2006
    53
    ()
    0
    : 0 (: 0).

    Smarty .

  6. #6
    1nsk   Group alfa ()     alfa
    14.05.2006
    1nsk.ru
    3,736
    ()
    4
    : 1 (: 1).

    Lindows, echo "$id"; php . , http://doc.1nsk.ru/smarty/
    -

  7. #7
    Lindows       Lindows
    31.08.2007
    172
    ()
    0
    : 0 (: 0).

    .. . :

    :
    <table border=1 cellspacing=0 cellpadding=2>
        <tr>
          <th></th><th></th>
        </tr>
    
      <tpl:row>
        <tr>
          <td>{product}</td><td>{price}</td>
        </tr>
      </tpl:row>
    
      </table>