Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. I see, thanks.
  2. Maq

    [SOLVED] columns

    Yes what you have is: record 1 record 2 record 3 What you need is: record record record record record record See this difference, it's basic HTML?
  3. I don't think this has been asked, what is this text field for? [attachment deleted by admin]
  4. sure, if ($Derleek == 'fatigue') { sleep("Derleek"); } else { die(); }
  5. How about AIM?
  6. Maq

    My portfolio

    I think it looks really good but I'm going to have to agree it needs to be wider. Just use a relative 80% width or so. The navigation looks fine to me, fits perfect. I'd say for a portfolio it's what you want, clean, simple, and easy to read.
  7. Are you referring to a pop up page or a page that loads, executes then redirects back to the original?
  8. SELECT COUNT(*) FROM stats GROUP BY DAYNAME(`date`); Then if you grab the first record it should have the highest count, being the busiest day.
  9. Good point. If you were to try and create the behavior and intelligence of a fish it probably wouldn't take very long. Actually it probably has already been done.
  10. Do you have access to a DB? This would make things much easier.
  11. Yes you can, it's: $ip=$_SERVER['REMOTE_ADDR']; So what do you want to do?
  12. Hmm not sure. Could you tell me what each field is expecting to receive and what value you're trying to pass into it because it looks like it's receiving something unexpected...
  13. Does it work on all other browsers? Maybe that Doris browser doesn't support something he needs.
  14. Do you actually want to delete this file? Or do you just not want to show it when after someone sees it? Also, how do you want to do this by username, ip, session?
  15. I want you to make sure they all have values.
  16. Sure, it's already been done. I guess only time can tell for that one. There are already AI programs that do this. For example, there have been worms programmed to change the variable names, code design, etc. after a period of time to avoid detection. Think about someone who's not a programmer and hears about a worm that when it gets on your computer it goes through your mail and sends itself to their contacts, and their contact and so on. Then it dynamically changes its code to avoid detection? Pretty amazing huh? Not really, it's all programmed to do this but still unpredictable for a human.
  17. I started by learning java and basic web languages on my own but got really into web development when I got into school and was introduced to some other languages. Then when I worked for my internship, where I learned twice as much as school taught me, I got really into web development. So I guess I'm a tweener...
  18. Can you echo out the POST requests and $ip to make sure they have values?
  19. Maq

    [SOLVED] columns

    I think your main problem was that you had a table in the while loop so you were just created a bunch of tables. Also, like cronix said, when you have an empty column do it like this .
  20. Yes, but the question is about an AI robot/program or w/e. Humans adapt to whatever they see, do, hear etc. just like a program does. If you program a robot to do something when it sees a certain value it reacts to whatever you tell it to do. Just like when you grab random numbers, it's generated from somewhere, it's just random to you.
  21. You should have single quotes in your POST methods, but add this mysql_error function at the end to make sure it's not your query. And don't assign it to a variable. mysql_query("INSERT INTO news (authorname, date, newstitle, news, ip) VALUES ('$_POST['authorname']','$now','$_POST['newstitle']','$_POST['news']','$ip')") or die(mysql_error());
  22. @ken Would the empty function work the same as the isset in this case?
  23. Are you asking how to use the GET method? If so, do this with your example URL: $p = (empty($_GET['p'])) ? '2' : $_GET['p']; $v = (empty($_GET['v'])) ? '1' : $_GET['v']; $c = (empty($_GET['c'])) ? '1' : $_GET['c'];
  24. Maq

    [SOLVED] columns

    Can't you just put tags around the sql variables where you want columns?
  25. I would consider this the illusion of consciousness. Because everything AI does is from some form of code or logic written by humans.
×
×
  • 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.