Jump to content

Jessica

Staff Alumni
  • Posts

    8,968
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Jessica

  1. If index.php is in your webroot, the link should be "/index.php"
  2. Sounds like that's a limitation of twitter's API.
  3. Uhm. Remove the # from your search.
  4. Edit: Psycho got the link before I could
  5. They are two different values tho. 1369612800 2013-05-27 1367193600 2013-04-29 <?php $time = strtotime("last Monday of May 2013"); echo $time.'<br>'; echo date('Y-m-d', $time); echo '<br>'; $time = strtotime("last Monday May 2013"); echo $time.'<br>'; echo date('Y-m-d', $time); ?> The of one is accurate.
  6. I just showed you it worked. The code I pasted is LITERALLY what I ran and got that output. If it works for you without the "of", then take out the "of". What is the issue?
  7. 1369612800 2013-05-27 <?php $time = strtotime("last Monday of May 2013"); echo $time.'<br>'; echo date('Y-m-d', $time); ?> How did you debug your string? what's print_r($_POST); show? How have you debugged the strtotime? Post the actual code.
  8. You either don't use the domain, or you set up the domain as a server variable.
  9. Your links need to be the full path. Either with the domain or just from the root folder.
  10. I completely glossed over the fact that it was an ALTER TABLE query. Good job David.
  11. Show your code and error.
  12. You have to put :field in the query where you want the parameter replaced.
  13. jQuery has a great AJAX utility.
  14. Using AJAX. PHP runs on the server, is sent to the client, and displayed in the client (browser). Or better yet, just plain javascript.
  15. You have to look up what the default value is in the documentation, then set it to that. For example, the default value for text-decoration for an a is underline.
  16. if(isset($_GET['error'])){...}
  17. http://forums.phpfreaks.com/topic/273800-create-proper-urls-for-posts/#entry1409023 Please read the answers you're given and stick to one thread.
  18. Instead of 'd' use 't'. http://www.php.net/manual/en/function.date.php And then add only 28 days, not 1 month.
  19. You need to put your email address as a string, and assign it to the variable. Go read the PHP manual.
  20. Your problem has absolutely nothing to do with your text editor. Are you trying to learn PHP, or just change the form and then not learn more PHP?
  21. See, that's a lot more useful. Could have saved 5 or so posts. $_POST is an array. When you do $_POST['field_name'] you are looking for the value of the $_POST array at the field_name key. $owner_email = $_POST["sebbieharrisonevans@gmail.com"]; is looking for a posted field with the name of your email address. If you had error reporting on and set to show notices, you'd see this is wrong.
  22. The opening tag for PHP is <?php. Not: <? php Your server does not have short tags on, so it's reading it as html.
  23. The code where you put in your email. You should always post your latest code when you want help with it. Code that's two iterations old...wastes our time.
  24. Why don't you show us THAT code.
×
×
  • 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.