• 0

[PHP] Mysql only display so meny words


Question

Ok what im trying to do is see out @ the top of the forums under Main News, see how it only shows the first like 30 charicters then adds ... how can i do this? im retriving the info from mysql

so say i have the subject "In this update I added so much stuff its awsome"

it will only out put "In this update I..."

but if the text is under 30 charicters or what ever it dosent add the ...

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

everything

SELECT * FROM table

means

SELECT Everything FROM table

or

Select COUNT(*) FROM table

means

SELECT COUNT(Everything) FROM table

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.