XP - Apache - MySQL - PHP

Can someone give me a hint?  Thanks for any help.

I have successfully pulled the text field record from the database, but need some 
direction about how to only display part of the text:

        $query = "SELECT youth_announce_num, youth_announce_text FROM 
$youthannounce_tablename
                             WHERE youth_announce_start >= curdate()
                    ORDER BY youth_announce_date
                             LIMIT 7";
        $result = mysql_query($query);
   
        while($query_data = mysql_fetch_array($result)) {
            $thetext = $query_data["youth_announce_text"];

...omit...

       echo "$thetext<BR><BR>";

...omit...

Marlene
eJeb Solutions

Reply via email to