Hi Everyone,
I am trying to figure out how to insert the current date and time into the database.
Scenario:
1) user enter my site and fills up the forum
2) hits the submit button
3) Regardless of the user location I want the time to be stored in the database in PST.
Question:
Do I need to get an input from the user for time? or can I just use some server time etc?
Right now I'm asking them to manually insert the date and time in the textbox which is not that effective
Also I have a checkbox in my forums but I always get 0 in the value field when I check the database. I have it setup as (tinyint(1)) in the database using mysql. I think I am doing wrong.
Is there a way to require the user to check the button before they hit the "Submit" button?
Thank you in advance
PHP & Java
Hello,can PHP code be used inside java code?Code: [Select]<SCRIPT LANGUAGE="JavaScript">OpenWindow.document.write("<?php echo NotWorking;
Getting a variable to work in function params
I have this fuction which is inside a class:Code: public static function generateEmbedCode($callId, $width="425", $height="320", $swfobjectPath="SDK/js/swfobject.js",
Stopped working!
So I had to change some stuff, none of it major. Stuff like the extension_dir and such. BEFORE I did much, I had that code working fine. Then I did some changed... well a lot of changes that I cant
send message to the java application
Oracle 10g with Windows platform.
Execure stored procedure on a timer
Can someone tell me an easier way to execute a stored procedure on a timer? I am using Oracle 10g R2 DB on windows 2003 server. I have a batch file that calls an SQL file, which runs fine when I
insert Multiple rows into the table from that table data
Hi All,
Help: calling function
Hi,Is it possible to call a php function on page close?If yes, could you explain how and where to call?any example code will be appreciated.Thanks
problem with query error
First Thanks to those who helped me on my previous posts, and the following code i'm using is not mine, i grabbed it from here http://www.phpfreaks.com/tutorial/basic-paginationNow onto the
Image resize
Hi again fellersI managed to sort out the issues with the folder, Final hurdle is this: Code: function ResizeJPEG($filename, $width, $height){ list($width_orig, $height_orig) =
IP question
ive got 2 ip addresses both global from same user how would i detect if they are local to each other