Jump to content

scoobybrew

Members
  • Posts

    11
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

scoobybrew's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Ok.... I used your code and now it shows what stylesheet is selected on the main page.. But still, it doesnt change the bg. I've already checked that it works and also replaced 'stylesheet' with 'style_sheet'.
  2. Oi, actually it doesnt work, just i have chosen the fast option and i didnt have a background for fast. I also tried using 'echo' to see if everything works. I tried, nothing appeared. Maybe i forgot to register session or something?
  3. I have to radio buttons at the login page. Both of them are in group1. The value of the first is 'fancy', the value of the second is 'fast'. Also note that the buttons are on the login page, and i want to change the bg on the main page.
  4. i meant the values i got for the logged in user (id, points and others) And for example, i want id at the top of the page, points at the bottom. How do i do that?
  5. Thanks! I added this at the top of the page and it worked Thanks alot edit: Oh and also, another question, how do i put the values in diffirent places?
  6. Thanks, but that doesnt work.. it says Whats wrong?
  7. I want to show data for logged in user, i am using sessions to login. This is the code i already have: // Connect to server and select database. mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); //this selects everything for the current user, ready to be used in the script below $result = mysql_query("SELECT id, points, ingame_points, ingame_money, ingame_items FROM members; WHERE username = $_SESSION['myusername']"); //this function will take the above query and create an array while($row = mysql_fetch_array($result)) { //with the array created above, I can create variables (left) with the outputted array (right) $points = $row['points']; $id = $row['id']; $ingame_points = $row['ingame_points']; $ingame_money = $row['ingame_money']; $ingame_items = $row['ingame_items']; } Help :-\?
×
×
  • 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.