Jump to content

nba1985

Members
  • Posts

    17
  • Joined

  • Last visited

    Never

Everything posted by nba1985

  1. Thanks Can you advise How to do a plain page which just shows the details from a mysql db?
  2. Hi all, My friend is having a problem so I said I'd post for him on here as he is away at the minute. Here is his problem, hope someone can help, thanks in advance. "i have a site, where you login in, and then i want to show stats (name, favourite football club, games played, goals scored etc) i have this file called view_profile.php that then links to view_profile.tpl.php. the error im getting is 'There was no username entered in the URL.' I think all that need to happen is for it to get the right username that your logged in under, but this is not showing it, can someone tell me what is missing? Also, if you fancy helping to complete this website, and play fifa 08/09, please give me a shout!" <?php require "global.php"; $body = new template(TPL_ROOT); check_login(); if(!$_GET['get_username']) { full_error("Error", "There was no username entered in the URL."); exit; } $get_username = secure_input($_GET['get_username']); $get_username = str_replace("_", " ", $get_username); $user_query = $mysql->query("SELECT username, user_level, real_name, favourite_clubs, age, short_bio, nationality, second_nationality, positions, register_timestamp, lastlogin_timestamp FROM users WHERE username='".$get_username."'"); if($mysql->num_rows($user_query) < 1) { full_error("Error", "There is no user with the name of, <strong>".$get_username."</strong>."); exit; } $user_results = $mysql->fetch_array($user_query); $title = $user_results['username']; $body->set('user_results', $user_results); $tpl->set('title', $title); $body->set('error', null); $tpl->set('body', $body->fetch("view_profile.tpl.php")); echo $tpl->fetch('template.tpl.php'); $mysql->close(); ?> [attachment deleted by admin]
  3. How much would you charge then :)
  4. So how long would it take yourself to code something like that? You see how all teams have players and stats are reported and league tables are updated auto etc..
  5. EDited I understand its PHP Script, but how hard is it to achieve a website like this? How much would it cost to have someone do it for you, or is there something out there for free which would help to create a very similar website?
  6. Is it not just your pc your using, not being able to handle the size of the file?
  7. Thanks alot for your help, appreciate it.
  8. I NEED TO CONTACT ted_chou12 AS HE SENT ME A PRIVATE MESSAGE BUT IT SAYS I AINT ALLOWED TO REPLY? ANY HELP HOW TO CONTACT HIM?
  9. Please?
  10. Sorry if this is in the wrong place. I am wanting to create a website that allows users to sign up to a team, when authorised by me. They then are signed to a team i.e LA LAKERS as the captain, and can offer trials and a contract to otehr members to fill there team. Once teams are filled, users play the games on XBOX LIVE and then come to the site and input the score results, the tables are then automatically updated if both teams score reports match. If one team fails to report there score within 2 days then team who did report the score gets the win. Sites that are like the one I want are: http://www.virtualsportzcenter.com and www.yourfifaleague.net I have downloaded a PHP Script called CCLEAGUES from www.orlandocastillo.com I am wondering am I going about this the right way, can anyone recommend anything to me as a newb at this? Would anyone offer support for me? I appreciate all replies, and thank you in advance Also has anyone used PHP Runner before? Is it possible to create something to what I want with this program? Cheers.
  11. Again, I am sorry. I'm basically wondering how to achieve a website that is all automatic. Scores are reported by users, and tables are updated accordingly as long as the scores match. Users can apply to be captain and when authorised by me, they are then captain of say the LA LAKERS and then register 5 other people( there friends) on there team. Basically like a clan. They then play other clans on xbox live. You get me.
  12. Sorry if this is in the wrong place. I am wanting to create a website that allows users to sign up to a team, when authorised by me. They then are signed to a team i.e LA LAKERS as the captain, and can offer trials and a contract to otehr members to fill there team. Once teams are filled, users play the games on XBOX LIVE and then come to the site and input the score results, the tables are then automatically updated if both teams score reports match. If one team fails to report there score within 2 days then team who did report the score gets the win. Sites that are like the one I want are: http://www.virtualsportzcenter.com and www.yourfifaleague.net I have downloaded a PHP Script called CCLEAGUES from www.orlandocastillo.com I am wondering am I going about this the right way, can anyone recommend anything to me as a newb at this? Would anyone offer support for me? I appreciate all replies, and thank you in advance. Cheers.
×
×
  • 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.