How many replies can we get??

Status
Not open for further replies.
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;

Hmm. I think you're getting there. I'm assuming that $racerlist is the haystack. And you'll need to work on the inputreplace function, because that's writing out to the browser, not the $new string. But you're definitely on the right lines now. :)
 
Right!

Enough of the free consultancy! It's time for me to go to bed!

Night y'all.

:sleep:
 
noooooooooooooooooooooooooooooooooooooooooooo
 
.
 

Attachments

  • blair.jpg
    blair.jpg
    7.4 KB · Views: 54
Originally posted by GCstyle


Well you defnitely lost me....... :confused:
Hehe, you're talking Chinese to me, man. :D

Same here.
 
hey, anybody here?
 
yes... i'm still trying to swallow what happened in Salt Lake... bunch of crappy judges...
 
Originally posted by PunkRock
yes... i'm still trying to swallow what happened in Salt Lake... bunch of crappy judges...

Why, what happened?
 
Originally posted by gt2_gs


Why, what happened?

I was watching Figure skating couples with my girlfriend... the Russians were first, as usual... Then came the only guys that could take gold from them, Salé and Pelletier, the Canadian couple... they're performance was spot on, the announcers said it was perfect, they were the gold medalists, etc... it's true, they were perfect... but there's the stupid russian judge who placed them 2nd... just because they would have beaten the russians... How unfair!!

btw, if you want a better side of the story, check Deathhawk's thread on Olympics and politics... i resumed pretty badly...
 
and like Mayorbill would say...

**** **** PISS!
 
Heh.. ok, i dont want THAT much detail...
 
sorry...

nice thing for the men's half pipe!!! USA 1-2-3!! i think that's a first, whole podium took by the same country.
 
Ok, well im gonna go play a game... see ya
 
me too, see ya!
 
dun dun dun dun dun doodle doodle dun dun dittle dittle duunnn
 
Originally posted by StevieMo
dun dun dun dun dun doodle doodle dun dun dittle dittle duunnn

:confused:
 
Wasaaaa......
 
Hey, is stevie stioll here?
 
dunno... maybe!
 
hmm... STEVIE, AWAKEN FROM THE DEAD MAN!!
 
Status
Not open for further replies.
Back