Now that's pretty cool! Thanks Vacunita, I'll give it go.
@whosrdaddy - Thank you also, looks like a great library, will keep in mind for additional projects
I'm performing a very simple step as seen in the following code:
var d = new Date("Cancelled Date");
if (d.getFullYear< "1900")
{
SetFieldValue( "Cancelled Date", "");
}
On the same form, I have several date fields that must also be tested. Rather than write each one out, could someone...
Is it possible to enable a PL/SQL query or stored proc as a web service in 11g without standing up a Web App Server? If so what is the required configuration? Do I need anything other than the standard enterprise db package?
Additional Info:
I am new to Oracle (new job) and my current project...
Thank you jpadie for the great information! I didn't realize that the date object for php was new in 5.3, so that helps me understand why I couldn't find much information on it. I was aware of the Unix Epoch, but was NOT aware of the adjustment for GMT position, so that explains the date!
You...
Thank you, but still not getting anything expected.
It's really odd, but everything I do returns some form of 19691231_1800
$formdatetime = $_POST['hidtimestamp'];
echo $formdatetime;
Returns: 20100128_23:00
$formtimestamp = date ('Ymd_Hi', strtotime($formdatetime));
echo $formtimestamp...
I have a POSTed key of hidtimestamp. Naturally, the value of this key is a string.
print_r($_POST['hidtimestamp']);
Returns: 20100128_18:02
What I want is a DATE object like: 20100128_1802
So, I tried this:
$adate = date ('Ymd_Hi', strtotime($_POST['hidtimestamp']));
echo $adate;
Which...
feherke, I think it's working!! THANK YOU (I've been trying to figure this out for many hours!)
I'll throw it in the script and hopefully it will work like expected
Here is what I ended up with just in case another person is looking for the same thing:
foreach (explode(',',$_POST['listshift'])...
Sorry, I didn't provide a very good example. You are correct about it not looking right. Here is the code with key, and result:
print_r($_POST['listshift']);
And this is what is returned:
17:00@http://localhost/ahems/index.php, 17:00@http://localhost/ahems/index.php...
Thanks feherke, that helps! I've run into a problem related to this post. I was trying to do a test just to fill out the PDF file I'm building by using an array I made up. The idea then was to replace that with the _POST array from my form. I kept getting errors thrown up when using Foreach...
I am trying to build a test to explode each string from an array while doing foreach loop.
Can someone show me what I'm doing wrong with the array and construction of the statement. All I get in return is 'array'.
$posted = array('text1@url1', 'text2@url2', 'text3@url3');
Foreach($posted as...
I know there is a syntax problem here but I just can't figure it out. Trying retrieve eventdetail_id from a table. I have gone through countless permutations of this code and every time it returns as if there is not a matching record (array, etc). I know there is a matching record, and the...
Need some help if someone would be kind enough to offer. I'm modifying the edit view in JEvents All I'm trying to do is lookup the eventdetail_id from a table. I have gone through countless permutations of this code and every time it returns as if there is not a matching record (array, etc). I...
My scripting ability is limited. I have an application running in the background that will generate AND INSERT a string into a text editor or field when a key sequence is entered, e.g. I open notepad and press the key sequence, the result is the string.
I also have a simple script for...
Thank you both for the reassurance and tech info. Also, it's interesting you should mention the forum, as I just realized today I rarely make major purchases without first confirming that there is an active user group available. Just one of the ways that this forum is extremely valuable...
My company will be moving to a new site, and will need a new phone system. I am involved in choosing it. I am an IT guy, with some telephony experience, but not enough to have an opinion either way about brands or systems. I like the Norstar system, simply because it's the only one I have...
I am using towords to display an amount. If the amount is a whole dollar, the decimal place displays XX/100.
I want it to display 00/100, but have so far not been able to figure this out. If there is a value other than 0 in the decimal place, everything works fine.
Example of current value...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.