Originally posted by gt2_gs
So it would be like this:
function inputreplace($old)
{
while ($myrow = mysql_fetch_row($result)) {
printf("<tr><td>%s %s</td><td>%s</td></tr>\n", $myrow[1], $myrow[2], $myrow[3]);
}
return $new;
}
$racerlist = mysql_query("SELECT * FROM `Racerlist` ORDER BY `Points` DESC",$sdb);
$string = "{input}";
$content = str_replace($string, inputreplace($string), $haystack);
echo $content;
Originally posted by GCstyle
Well you defnitely lost me.......
Hehe, you're talking Chinese to me, man.![]()
Originally posted by PunkRock
yes... i'm still trying to swallow what happened in Salt Lake... bunch of crappy judges...
Originally posted by gt2_gs
Why, what happened?
Originally posted by StevieMo
dun dun dun dun dun doodle doodle dun dun dittle dittle duunnn
Originally posted by gt2_gs
Wasaaaa......