Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~2K People Reached
Favorite Forums
Favorite Tags
Member Avatar for dwssassin

[CODE]$hour = $_POST['hour']; $minute = $_POST['minute']; $ampm = $_POST['ampm']; $tz = $_POST['tz']; $ftz = "America/New_York"; if($ampm == 'PM') { $hour = $hour + 12; } $temptime = strtotime("$hour" . ":". "$minute" . ":" . "00"); $tempdate = date('Y-m-d', strtotime('+1 month')); $tempval = $tempdate . " " . $temptime; $nextalert = …

Member Avatar for dwssassin
0
106
Member Avatar for dwssassin

[CODE]$day = date("Y-m-d", strtotime('+1 month', time())) . " " . "$hour" . ":". "$minute" . ":" . "00" . "$ampm"; $day->setTimezone(new DateTimeZone('$ftz'));[/CODE] I have a user enter a time and I want to generate a $day one month ahead of the day the script was called at the time entered …

Member Avatar for metalix
0
1K
Member Avatar for dwssassin

I know I've been doing alot of asking an hopefully when I learn enough I can do some answering but heres my question: How can I combine 3 for inputs (year, month, day) into one hidden form called date? I am assuming I would have to do something like a …

Member Avatar for dwssassin
0
88
Member Avatar for dwssassin

So I started my own project to make a website. Since I know much more about coding a website than designing it I came up with the idea to code the website for now and once its fully functional begin designing it. Is this a good idea (I am about …

Member Avatar for macgurl70
0
101
Member Avatar for dwssassin

In another thread I found that a good way to show and hide parts of a form based on previous entries would be as follows: [CODE] function showhidefield (method) { var hideablearea = document.getElementById("hideablearea"); var hideablearea2 = document.getElementById("hideablearea2"); var hideablearea3 = document.getElementById("hideablearea3"); switch (method) { case "1": hideablearea.style.display = 'block'; …

Member Avatar for Chokladkakan
0
88
Member Avatar for dwssassin

So I want to show hide various parts of a form based on html form entries and this is what I have so far. [CODE]<script language="JavaScript"> function showhidefield(method) { if (method = 1) { document.getElementById("hideablearea").style.display = 'block'; document.getElementById("hideablearea2").style.display = 'none'; document.getElementById("hideablearea3").style.display = 'none'; } if (method = 2) { document.getElementById("hideablearea").style.display …

Member Avatar for dwssassin
0
168
Member Avatar for dwssassin

Hello, I made a registration confirmation code that emails you a random md5 in the form of [CODE] www.yoururl.com/confirmation.php?key=as19239avjkajesdfkj [/CODE] and key is the confirmation code. However I am trying to implement a 2 part confirmation code (one sent to your email and one sent to your cell phone) so …

Member Avatar for dwssassin
0
143