Jump to content

Jessica

Staff Alumni
  • Posts

    8,968
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Jessica

  1. If you look up mail() in the manual you can see what the arguments are. The first one is the email address to send the mail to.
  2. Oh my god. Post your code. Nevermind. Your post says header.htm and footer.htm Your site's source is trying to include blank.php and footer.php. The biggest problem is it's not even processing the php. You need to talk to your host.
  3. How do you expect us to help you? Can you fix my car? Here's a photo of it: (Yes, that is actually MY car. Truck. Whatever.) http://php.net/include
  4. Cool story bro.
  5. Agreed, PHP's manual is one of the best there is. Compare it to something like jQuery. So I have to say, no, it would not be useful.
  6. From is a restricted keyword.
  7. You have to capture errors. Are you using a third party DB library or is that just mysqli?
  8. do you know HTML at all? Your if statement is still within the <tr> not outside of it, and you erased all of your td stuff. Edit: Do you want to learn PHP and HTML or do you just need this one part changed? If the latter, try our freelance forum.
  9. Moving to CSS forum.
  10. If you don't understand, it's time to learn. What about that did you not understand? It's fairly basic. You have four lines with if statements. Get rid of them and just have one before you ever echo the <tr>. Put all of the table row within your if construct.
  11. Have just one if() before you echo the row.
  12. Use mod rewrite. There's lots of tutorials you can google for
  13. You need to check for errors. See the link in my signature on debugging SQL. And next time, use code tags.
  14. Set up a local host. You cannot write PHP without being able to test it yourself, and we are not here to test your code.
  15. Will it? Why would you ask us? Try it and see.
  16. How is it harder? Where is your PHP code? We don't write the code for you.
  17. The answer was literally given to you.
  18. Because it's wrong. Just because something works doesn't make it the right way.
  19. That is still incorrect, as you were told several times HTML attributes should be quoted.
  20. That question was solved in the OPs other thread.
  21. 1 HTML element attributes need to be surrounded in quotes. 2. This code would produce parse errors. You cannot concatenate an "echo" to another one. 3. You never closed the opening <a> tag.
  22. What is the question? Should you use PHP? Well this is a PHP forum
  23. Seems like you answered your question before you asked it...
  24. Checking the file's extension isn't the best way to determine the file type. But if you want to do it that way, look for the case-insensitive version of the function you're using to test it. Check the manual.
  25. You got 1 of 3. Your code still doesn't make sense for your described problem. I think you need to use mysql_last_insert_id(), and not run a select and a loop. You should have TWO INSERTS and that's it.
×
×
  • 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.