[thelist] PHP show first 10 words of MySQL field

Austin Harris austin at dotmail.co.uk
Wed Aug 27 16:39:28 CDT 2003


I have now got it working, and very simple it is to;

$rest = substr("$myrow[text]", 0, 180);
      echo("$rest");

Many thanks, Austin



More information about the thelist mailing list