while($row = mysql_fetch_object($result))
{
$var = $row->threadprefix;
$prenoms = $row->threadprefix;
$prenoms = nl2br($prenoms);
$tableau = explode('<br />',$prenoms);
foreach ($tableau as $element)
{
echo '<a href="forumdisplay.php?f=46&threadprefix='.$element.'">'.$element.'</a><br />';
}
}
this code would display a bunch of stuff, sorting them by lines, and make a link for each
i'd like to display the $element part only if it begins with (i.e.) "bobby"
could someone hook my part of code with a code that could do that? thanks a lot 😃