Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. K, great. I know with some boards you have to purge everything for the new settings to take place.
  2. Since this is an SMF mod, it may be more appropriate to ask on their forums, you will get more effective responses.
  3. Your hosting provider may already have this setup for you, if not they can take care of it.
  4. I'm also going to go ahead and assume that you have configured/setup mail?
  5. You can do it either way.
  6. Change this line to (need single quotes in the POST array): $somecontent = "Name: $_POST['name'] \n"; NOTE - Please use tags around code.
  7. Huh?
  8. I agree, Eclipse has been very loyal to me. It supports all the features I need and more.
  9. Probably would have taken less effort to look at what each board consisted of rather than creating this thread.
  10. I listen to either classic rock, or metal, depending on what kind of mood I'm in.
  11. Yes: http://www.phpfreaks.com/forums/index.php/board,108.0.html Other client side stuff, such as Java Applets, Flash & ActionScript
  12. This will post to the itself, (the same page you're on): if(isset($_POST['submit'])) { echo "POST text: " . $_POST['text']; //execute code } ?> </pre> <form action="<?php%20echo%20%24_SERVER%5B'PHP_SELF'%5D;%20?>" method="POST"> Text: </form> <br><b NOTE - Please use tags around code.
  13. There are plenty of examples online, why don't you give it a try, fwrite & submit.
  14. Don't know where it would be deleting all of your data, there are no delete statements. The blank page is probably caused by (need and ending double quote): $sql = "UPDATE User_infoT ( Location, Fav, Quote, Interests, Happy, Sad, Habits, Music, Movie, Website, Aboutme, Whywe, Status) VALUES( '$Location', '$Fav', '$Quote', '$Interests', '$Happy', '$Sad', '$Habits' , '$Music', '$Movie', '$Website', '$Aboutme', '$Whywe', '$Status' ) WHERE Username='$username'";
  15. If I understand you correctly, you could have just used a single loop: for($a=1; $a echo ($a} ?>
  16. Aren't you afraid that you're blocking/deleting (however you're doing this) legitimate posts?
  17. In the top navigation it says I have a message, and there's nothing in my inbox. It was working fine until the last message I had (don't remember the date), I deleted & purged it, but it still says I have 1 message. Screen shot attached. [attachment deleted by admin]
  18. What is the exact output? You have some exits; in your code, maybe they're being executed? We need more information.
  19. How are these chosen? Do you have this part done? Does it submit? Can we see the processing page? Associated how? By the id?
  20. Ok then, use this: $query = "SELECT header, body, header2, body2 FROM `index`";
  21. Is this a question regarding MySQL? So you want data from 2 different tables that match against an ID? You're going to need a JOIN.
  22. That would imply that you are already in the correct array OR you have the wrong array. For example, when you do: $s = "blah"; echo $s[0]; This will echo 'b'. You must looking at the wrong array. I did a sample test with your data and it works fine: $arr = array(array("todays_new", "html"), array("helloWorld", "php")); print_r($arr); echo $arr[0][0]; ?> OUTPUTS: Array ( [0] => Array ( [0] => todays_new [1] => html ) [1] => Array ( [0] => helloWorld [1] => php ) ) todays_new
×
×
  • 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.