Jessica
Staff Alumni-
Posts
8,968 -
Joined
-
Last visited
-
Days Won
41
Everything posted by Jessica
-
If index.php is in your webroot, the link should be "/index.php"
-
How can I parse twitter hashtags with a certain word in?
Jessica replied to Stuart_Westgate's topic in Regex Help
Sounds like that's a limitation of twitter's API. -
How can I parse twitter hashtags with a certain word in?
Jessica replied to Stuart_Westgate's topic in Regex Help
Uhm. Remove the # from your search. -
Edit: Psycho got the link before I could
-
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.
-
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?
-
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.
-
You either don't use the domain, or you set up the domain as a server variable.
-
Your links need to be the full path. Either with the domain or just from the root folder.
-
I completely glossed over the fact that it was an ALTER TABLE query. Good job David.
-
Show your code and error.
-
You have to put :field in the query where you want the parameter replaced.
-
jQuery has a great AJAX utility.
-
Using AJAX. PHP runs on the server, is sent to the client, and displayed in the client (browser). Or better yet, just plain javascript.
-
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.
-
if(isset($_GET['error'])){...}
-
http://forums.phpfreaks.com/topic/273800-create-proper-urls-for-posts/#entry1409023 Please read the answers you're given and stick to one thread.
-
Instead of 'd' use 't'. http://www.php.net/manual/en/function.date.php And then add only 28 days, not 1 month.
-
You need to put your email address as a string, and assign it to the variable. Go read the PHP manual.
-
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?
-
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.
-
The opening tag for PHP is <?php. Not: <? php Your server does not have short tags on, so it's reading it as html.
-
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.
-
Why don't you show us THAT code.