1
   

SQL question

 
 
Reply Thu 13 Apr, 2006 08:49 pm
How would I write an SQL statement for use in PHP, so that I can display a text field that may have thousands of characters in the record, but only output the first 50 characters of it to the web page?
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 1 • Views: 864 • Replies: 1
No top replies

 
roverroad
 
  1  
Reply Fri 14 Apr, 2006 05:09 am
Re: SQL question
Never mind, I figured it out. Needed to approach it from truncating the string length, it's not an SQL thing.
0 Replies
 
 

Related Topics

Webdevelopment and hosting - Question by harisit2005
Showing an Ico File - Discussion by Brandon9000
how to earn money in internet - Discussion by rizwanaraj
The version 10 bug. Worse then Y2K! - Discussion by Nick Ashley
CSS Border style colors - Question by meesa
There is no Wisdom in Crowds - Discussion by ebrown p
THANK YOU CRAVEN AND NICK!!! - Discussion by dagmaraka
I'm the developer - Discussion by Nick Ashley
 
  1. Forums
  2. » SQL question
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 11/09/2024 at 05:23:55