Jump to content

Unholy Prayer

Members
  • Posts

    166
  • Joined

  • Last visited

    Never

Posts posted by Unholy Prayer

  1. This is the whole page:
    [code]<?php
    require_once('database.php')

    $result = mysql_query("SELECT * from affiliates");

    while($r=mysql_fetch_array($result))
    {  
      $site_name=$r["site_name"];
      $site_url=$r["site_url"];
      $banner_url=$r["banner_url"];
      echo "<a href='$site_url' target='new'><img src='$banner_url' width='88' height='31'></a>"
    }
    ?>[/code]

    I know... not that much coding, right?  But hey, with a PHP noob like me, this kind of stuff is expected.
  2. Ok, I am trying to make an affiliates management program, but I keep getting this error on the index display page... here it is:
    [code]Parse error: syntax error, unexpected T_VARIABLE in /home/mutantde/public_html/programs/index.php on line 4[/code]

    This is line 4:
    [code]$result = mysql_query("SELECT * from affiliates");[/code]

    This is probably a noob question, but this is my first PHP program so I guess I am a PHP Noob.

    Thanks in advance for the help.
  3. Wow, you think I stole the images from a pre-made PHPbb2 template?  I made that template by myself.  I hand coded the HTML.  There are still some bugs in the template coding.  That's why it's so messy.  Where's your proof that I downloaded that template?  I designed the template and made the PHPbb2 template from the same images, just different names.  Before you accuse someone of stealing, find proof.
  4. Ok, there are only two things wrong with the poll system I am currently using is that users can vote more than once. 

    1. Users can vote more than once.  All they have to do is refresh the page.
    2. Everytime I refresh the page, the POST DATA prompt comes up.

    How do I fix these problems?  You can see my poll system at my newly launched website:
    http://www.mtechdev.com/ 
  5. Uh, the only option I get is "Array". Lol.  But I love the 360.  I got mine a month ago and it's amazing.

     

    I first thought PS3.... then ps3 and now i don't know...

     

    revolution - yes that's right now you can see your favorite characters such as mario and pikachu in better graphics. - ah... yeah awesome...... mabye not....  that's pretty much what they bass them selves on each time the system changes...... the nintendo market is the kindergarten market of the gaming world.... i mean seriously.....  anyone up to the age of 10.... or 8 or 10.... would be happy.... and fankly... i think it survives by having those classic characters like little kidies can recognise... + most parents wont get there 7 year old son/daughter a console which half the games include shooting....

     

     

     

    The only people who want to see pikachu are little kids. Tchh.  But anyways Xbox 360=Complete Ownage

  6. I need some oppinions on my website.  First, is if you like the template.  Second, is what you guys think I should add to it.  The areas below the right navigation and news articles are very empty, so I was wondering what you guys think.

    http://www.mtechdev.com/

    Note: The client of the month content is just temporary so it doesn't look empty.
  7. Ok, I made my register, login, and logout scripts, but the last thing i need to know is once a user is logged in, how do I display their username?  For example, if Bob logs in under the username Bob, how do I make it say "Welcome, Bob."  But then it should change for every user.  If the user Henry logs in from a different computer, it should display "Welcome, Henry", not "Welcome, Bob".  Can someone help me with this?
×
×
  • 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.