Menu

Howto display all text

Help 2.02
2004-01-26
2004-01-28
  • Otto Wikkelsø

    Otto Wikkelsø - 2004-01-26

    I'm using 'show_item_2.inc.php' for the shop, but do want 'details' to appear. Instead I want all the text to appear, but it cuts of after 30-40 chars.
    I can delete 'details' from 'show_item_2.inc.php', but how do I tell phPay to show all chars?

    Have a nice day
    Viking-Uffe

     
    • Andreas Kansok

      Andreas Kansok - 2004-01-26

      Replace
      echo snipstr($item_row[17],5)." ...";
      with
      echo $item_row[17])."...";

      Function snipstr() cuts after 5 words ;-) number of characters independing. See functions.inc.php for source ...

      Greetings,
      Andreas.

       
    • Otto Wikkelsø

      Otto Wikkelsø - 2004-01-28

      THX. Works fine now.

      Take care out there!
      Viking-Uffe

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.