sno
-
Posts
4 -
Joined
-
Last visited
Never
Posts posted by sno
-
-
im trying to get this page to show the users information relevent the user user id which is added on at the end.
the only thing i get is no mysql errors but just blank fields.
this is what i have.
[code]
<?
$query = "SELECT * FROM $global[pre]_results WHERE match_id='$id'";
$result = mysql_query ($query) or die (mysql_error());
while ($s = mysql_fetch_array($result)) {
$id=$s["match_id"];
$against=$s["against"];
$map=$s["map"];
$results1=$s["results1"];
$results2=$s["results2"];
$info=$s["info"];
}
echo("The stuff from mysql should show up here
[/code]
is there a obvious reason as to why it isnt working?? -
yer there nice examples. but they confused me to hell,
-
ok im wanting to get this
[code] <Details>
<Username>·#·$7Frippy·0</Username>
<CleanUsername>Frippy</CleanUsername>
<LGR>[b][c=4]England 1[/c] - [c=8]0 Ecuador[/c][/b][</LGR>
<CleanLGR>England 1 - 0 Ecuador</CleanLGR>
<Statusi>Online</Statusi>
</Details>[/code] which is froma xml file and set "Cleanusername", "CleanLGR" "Statusi"
to a varible...
im tryied and got nowhere,
anyone able to help me out?
help with something like match.php?id=1
in PHP Coding Help
Posted
i got the [code]$id = $_GET['id'];[/code]in for now