|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Pulling Limited Characters
I am trying to pull limited characters of contents stored in the DB.
this pulls the title and the full contents. PHP Code:
this pulls the title and no contents. PHP Code:
I have tried so many ways and I can't seem to nail it. I would like to only pull around 30 characters of contents... I hope someone can help, thanks |
|
#2
|
|||
|
|||
|
Zig,
Try this: PHP Code:
Then reference the myContent field instead of the content field. |
|
#3
|
|||
|
|||
|
Very cool, that did work.. and so simple,
I tried everything I could think of to get that to work. but that =) Thanks again so much. |
![]() |
| Viewing: Dev Articles Community Forums > Databases > General SQL Development > Pulling Limited Characters |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|