Ah I got it! Just need to change this <? echo $name;?> to <?=$limited_name?> Works great. Now is there away to add ... at the end for names that are longer than 14 characters?
And thanks vacunita for your fast assistance.
Okay I added it, and kind of works, Here is the code after I put in the code you suggested:
<?php
include("includes/profile.class.php");
$profile=new profile;
include("includes/people.class.php");
$people=new people;
$new_members=$profile->get_new_people()...
Hello, I need assistance inserting $CharacterLimit in to my code so that the called information does not explode my tables. The function needs to be inserted into the code below. And <?=$name?> is what I am wanting to limit to 14 characters.
----------------------
<?php...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.