krappleby025
Programmer
Hi all,
i have a script, which pulls a record from the database, there may be 1000 words in the field in teh database.
At the moment the script pulls the entire field and places it into the varable
$rowgetdayjob['JOB_DESCRIPTION']
Now.. what i need to do is when i echo the above i display the entire field, but the area is not big enough. i need to limit the number of words/letters that are displayed on the page..
Can anyone tell me how to do this.. Do i need to do it in the DB request. and if so what code
or can i do it and set a new variable with only the letters that have been selected..
cheers
i have a script, which pulls a record from the database, there may be 1000 words in the field in teh database.
At the moment the script pulls the entire field and places it into the varable
$rowgetdayjob['JOB_DESCRIPTION']
Now.. what i need to do is when i echo the above i display the entire field, but the area is not big enough. i need to limit the number of words/letters that are displayed on the page..
Can anyone tell me how to do this.. Do i need to do it in the DB request. and if so what code
or can i do it and set a new variable with only the letters that have been selected..
cheers