Jump to content

MDCode

Members
  • Posts

    640
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by MDCode

  1. Selecting from it getting the row and assigning it to a variable.
  2. No. I don't believe you can post a variable. Even if you can you have it in single quotes which will not parse it's value
  3. Have you tried echoing mysql_error() ?
  4. "I am struggling" does not define your problem? What is it doing that it shouldn't, or what is it not doing that is should?
  5. htmlspecialchars and htmlentities will both convert the less than and greater than. You will need to str_replace all of the tags back into your data
  6. You are letting users query your database? Aren't you a bit concerned that there are security issues? As for your problem I can not understand one bit of your description.
  7. If you want to select from multiple tables, you need to use a join. It's not good to use queries in loops.
  8. I see no errors with that code block. Paste the whole page in tags
  9. You can not use mysql commands with mysqli. It will not work. Choose one.
  10. http://yourdomain.com/yourfile.php?province=whatever&city=blah&k=k&t=rawr
  11. If they are not defined in the url, it would explain it. I've tested it on my site with no errors.
  12. Please do not post an issue in another person's topic. You first query should work except you misspelled a variable
  13. Perhaps they changed settings, change your opening <? tag to <?php
  14. Remove the quotations like you did with $_POST['subject'];
  15. Yes, you are looking for $_POST['subject'] not $subject. Change all those ($subject, $detail, $customer_mail).
  16. If this is a php issue it should not matter which country. Do you have a question other than what seems to be "Can you please go to my website?"
  17. If that is where your form and processing code is located yes.
  18. Well, we need to see your form and your full page of code if you haven't posted it already. I think what you might be looking for is $_POST['subject'], $_POST['detail'], etc.
  19. I found it much easier to learn python after I got a good grasp on php. My opinion is that you should go with php first.
  20. You're calling a variable by a variable that isn't defined. Of course it's going to give an undefined notice.
  21. You can use cookies (which can be cleared) or use a database.
  22. Look into google ReCaptcha. We are not here to code for you, we are here to help you.
  23. You are going to have to provide more information. In which way are you trying to make it not apply?
×
×
  • 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.