Jump to content

Unholy Prayer

Members
  • Posts

    166
  • Joined

  • Last visited

    Never

Everything posted by Unholy Prayer

  1. Oh, silly me.  I was thinking of : instead of ;  Lol.  I am officially embarressed.
  2. Ok, that's wierd because semicolons have never been a problem in my other scripts in both the require_once() and echo lines.  Where exactly do I put them?  Just at the end?
  3. 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.
  4. 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.
  5. 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.
  6. 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/ 
  7. Visit my new site and we will re-design your site. http://www.mtechdev.com/
  8. or you could use this: [code]<table> <tr> <td>stuff</td> <td>other stuff</td> </tr> </table>[/code] That should do the trick.
  9. Get yahoo ads.  You could put a banner on your site that says "This could be your banner" and put a link underneath it that leads to a page where people can submit their banner and pay you to put it on your site.
  10. Uh, the only option I get is "Array". Lol. But I love the 360. I got mine a month ago and it's amazing. The only people who want to see pikachu are little kids. Tchh. But anyways Xbox 360=Complete Ownage
  11. 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.
  12. Hmm... I changed it, but I still get the same error on the same line.
  13. I tried the code you gave me, but I got an error on the following line: [code]$assoc = mysel_fetch_assoc[$query];[/code] The error was: [quote]Parse error: syntax error, unexpected '[' in /home/mutantde/public_html/bbultimate/functions.php on line 16[/quote]
  14. Will the session scripting find the username of the person that is logged in?  If so, all I have to do is use <?php echo "Welcome, $username"; ?> ?
  15. 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.