Forum Moderators: coopster
$with_pipe = ""; //clear the var
while($row = mysql_fetch_array($query)) {
$with_pipe .= $row["word"]."¦";//Create string with fields separated by a pipe
}
$with_pipe = substr($with_pipe, 0, -1);//get rid of last pipe
Best regards
Michal Cibor
PS. Moderator, what happened with edit? I tried to edit the post after a minute and it was already too late.