Jump to content

sno

Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Posts posted by sno

  1. 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??
  2. 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?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.