Jump to content

jthunder

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

About jthunder

  • Birthday 11/18/1985

Contact Methods

  • Website URL
    http://FreelancerNetwork.Org

Profile Information

  • Gender
    Not Telling
  • Location
    USA

jthunder's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Code is above. The output is displayed at www.ContractorJoint.com under Category column. Good example is the project called "NOrth Berkeley" where the Job Categories are quite a lot. Thats why I need to trunkate the text as soon as it gets 4 lines already. Thanks,
  2. thanks mate. did not quite work. categories all went to the top of the page. lol
  3. Hi Stephen, thanks for your reply. I tried using it but I am not that kind of programmer, I have some problems actually using it. Can you apply it to the above code please. thanks again,
  4. Display 25 chars per line up to 4 lines only. I am doing a little array, but cant figure it out how to control to display the number of lines. I want to control the numer of lines to display to only 4 and 25 characters per line in a table. Somewhere here in the code below : $types_temp2[] = $categories[$value]['title']; I need to be able to limit the display to only 25 characters per line up to 4 lines only. Can you help? I did a few tricks but it mostly trunkates characters but continue to the last lines which often runs into about 20 lines. Thank you for your help. $types_temp = array(); $types_temp2 = array(); $types_temp3 = array(); $types_temp = explode(',', $info['project_types']); foreach ($types_temp as $value) { if(isset($categories[$value]['title'])) { $types_temp2[] = $categories[$value]['title']; } } $types_temp3 = implode(', ', $types_temp2);
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.