The online racing simulator
Searching in All forums
(5 results)
soyobr
S3 licensed
what about a eletric car....?
soyobr
S3 licensed
thank's a lot filur!

i forgot the explode function generate a array too illepall hehe

just a little modification:


<?php 

  $nicks 
.= "{$row['nick']},";
  
$nomes .= "{$row['nome']},";

}

$nicks substr("$nicks"0, -1);
$nomes substr("$nomes"0, -1);

$TeamMembers explode(","$nicks);
$InGameName explode(","$nomes);

?>

Remove the last "," for don't create a new blank member in array

hugs/abraços,
Saulo Barbosa
soyobr
S3 licensed
Hi guys!

i try this in code for show who of the team is online (page 5):


<?php 
include("lalala.php");
$con mysql_connect$host$user$senha );
$sql "SELECT nick, nome FROM pilotos";
$res mysql_db_query$db$sql$con );
while( 
$row mysql_fetch_array$res )){
       
$nick   $row["nick"];
       
$nome   $row["nome"];
       
$nicks .= " \"$nick\",";
       
$nomes .= " \"$nome\",";
}
 
$nicks substr("$nicks"0, -1);
$nomes substr("$nomes"0, -1);
 
$TeamMembers = array($nicks);
$InGameName = array{$nomes);
 
?>

But this don't work's!

I wanna automate the process, i have a little db with team members lfsw nicks and names, so, for i don't need edit the php code every time i add a new team member...

Any light?

Hugs/Abraços,
Saulo Barbosa
soyobr
S3 licensed
little screen with course of each track done js
(check email)

++Portuguese mode on++
tinha esqcido q aqui é fórum gringo, tem q falar ingreis hehe
++Portuguese mode off++

if you want, i can make a template and a logo for Tourney too.

ps: look the attach

regards,
Saulo B
soyobr
S3 licensed
posso te ajudar js

c tiver alguma problema, fala comigo no msn, to meio livre aqui
FGED GREDG RDFGDR GSFDG