Win a copy of Cloud Native PatternsE this week in the Cloud forum
or Natural Language Processing in the AI/ML forum!

Anthony Palazzo

Greenhorn
+ Follow
since Oct 09, 2012
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Anthony Palazzo

Nick Charles wrote:I suspect that json_encode doesn't like the HTML string contents. Try removing json_encode and just echo the msg. Or remove the HTML tags from the message text.


Hm. Neither seems to be working unfortunately.
6 years ago
PHP
Hi all. I am fairly new to PHP and I'm running into a few problems and I don't really know where to start. I have a form that is trying to submit and send to an email address. I am using jQuery ajax function along with php mail function. I installed a WAMP server on my PC (not sure if that's where I'm running into an issue). I typically get "syntaxerror: json.parse: unexpected character" error message. Also, if this is not the proper forum to post in, I apologize in advance and please point in the right direction. Thanks! Here's the JavaScript and PHP code:

JavaScript:


PHP:
6 years ago
PHP
Hi all. I'm relatively new when it comes to Java programming and this will be my first post. I'd like to compare dates by having the user input a specific date and check whether that date is greater than today's date by 7 days. If so, it will then link them to a different screen from the JSP.

I'm getting the current date from a class called "CurrentDateTime".



The method "getDate(String dateFormat)" looks like this:



Any suggestions? Thanks in advance.
6 years ago