I have a variable that I am using to make an email list. Here is the code
$emailList = $emailList . $row[0] . ", ";
This loops and works but I have an , at the end. Is there an easy way to delete the last character?
Thx Adam
$emailList = substr($emailList,0,-1);
doesnt seem to work??
Well, you actually need to remove the last 2 characters, since you're adding a comma and a space.
thanks.. Works now
Adam