Hello everybody. There is a row in my db table I have set it's type as "TIMESTAMP". How should I fill in? Should get the current timestamp in php and send it to that row, correct? So how can I do that?

Member Avatar
Member Avatar
+0 forum 5

Hi friends. With `datetime.datetime.now()` or `datetime.datetime.today()` i can get the current date (English calendar) for my program but what about if i want to get the current date (from Persian calendar) for my program; then what should i do? As my pc os date is set to English calendar so what can i do?

Member Avatar
Member Avatar
+0 forum 2

Hi All, i am here with a problem in file handling in java. i need to search all the files on system with extention *.fdr. which are not less den one day old. then i need to convert the selected file to csv which is perfomed by a command in dos(symanalyzer). then i need to attach the csv file to mail . can someone help me with the java code . i have done some R&D and found that i can use the method "lastModified()". Thanks and Regards Mukul

Member Avatar
Member Avatar
+0 forum 3

i have many fields in page like sno,regno,date,name,school name etc.like a registrationform. i have two button save and print. i want to print the current saved record when i press print button.my registration no is primarykey and auto increment.

Member Avatar
Member Avatar
+0 forum 2

Hi! I have a problem with the unlink() php function. What I try to do is to delete a certain file in a directory. Now the function works fine. But when I call it then it deletes ALL the files inside of that directory. What I want is for it to delete that certain file which the user can select from a list. I display all the files with php and beside it is a 'X' ahref link which doesn't seem to be identified with that file next to it. This 'X' is used to delete the file. echo "$file …

Member Avatar
Member Avatar
+0 forum 2

I have to do a second assigment on doubly linked lists. Problem description: Create a class to implement a doubly linked list to store student records. Besides the basic operations, the class should include a sorting method that allow the user to sort the records in the list. Programming Requirements: 1. Create a doubly linked list in Java. Each element in the list contains a data which is an object of a Student class and two links, next and previous. 2. The Student class contains two class fields only: name - The first and last names are in one string …

Member Avatar
Member Avatar
+0 forum 1

Hi all, I wrote a simple app that shows your current location depends on GPS, WiFi, 3G signals, and shows in a Text View the location as city,street, country. The problem is that I saw that the location is pretty updated with WiFi\ 3G \ GPS, but the Text View does not updating at all !! I attached my code and I'll be more than happy if anyone could point of the problems in my app. Sorry for the long thread, I found no other way to paste the code more cost-effective placeŚ„ I am really desperate with it because …

Member Avatar
Member Avatar
+0 forum 2

Since it started in 2005, i have been hearing that mashable is doing extremely well in the online market. How well it is doing? what is it worth right now?

Member Avatar
Member Avatar
+0 forum 1

Please help. I can't get my calendar to automatically get the current date. I'm not sure where the problem is so I'll post the whole script. Here it is. (function($){ var availableTags = [ "ActionScript", "AppleScript", "Asp", "BASIC", "C", "C++", "Clojure", "COBOL", "ColdFusion", "Erlang", "Fortran", "Groovy", "Haskell", "Java", "JavaScript", "Lisp", "Perl", "PHP", "Python", "Ruby", "Scala", "Scheme" ]; $( "#autocomplete" ).autocomplete({ source: availableTags }); // Hover states on the static widgets $( "#dialog-link, #icons li" ).hover( function() { $( this ).addClass( "ui-state-hover" ); }, function() { $( this ).removeClass( "ui-state-hover" ); } ); }); (function($){ var initLayout = function() { var …

Member Avatar
Member Avatar
+0 forum 3

Is there a way to set Max date in Java for the calendar control or restrict the user from selecting the future dates?

Member Avatar
Member Avatar
+0 forum 3

Can somebody here teach me how to print in a current row in Gridview? Am using Crystal report, ms access 2007 and Vb.net 2008. This is for receipt matters. To be able to print a receipt after a transaction is made. To be able to print a selected row in a data grid for a back up or copy of receipt. This is really confusing me much. Thank you for any reply.

Member Avatar
Member Avatar
+0 forum 1

When I in FF send an updated textarea text for database update I do not get the current value, but the old value. I use jquery, and as far I can tell there is nothing strange in the code, thd DOM is loaded etc. When I do the same in IE if works fine. Is this a known issue? Hopefully I made myself understood, if not please take inte consideration I'm Swedish ;) Regards jea

Member Avatar
Member Avatar
+0 forum 1

Hello Every One ! I m working on a software , i have one field name expiry_Date , now i want to make an query which subtract the current date from the expiry_date and give answer in no.of days , i use getdate() for current date , can any one help me:( Regards M.Waqas Aslam

Member Avatar
Member Avatar
+0 forum 2

hi, when i insert date time into my database it insert server time not local time how can i change this? even i tried ; [CODE]$currntdate = date("F j, Y, g:i a");[/CODE] which didn't work either.. thanx in advance.

Member Avatar
Member Avatar
+0 forum 2

I am trying to run this XPath expression (that is, trying to count how many element content strings in my XML file end with letter-one-f ('a') or letter-two-f ('A'): [code=xslt]<xsl:value-of select="count( substring(.,string-length(.) -1,string-length(.) -1)=$letter-one-f or substring(., string-length(.) -1,string-length(.) -1)=$letter-two-f )"/>[/code] but I don't know how to refer to the 'current value'. All I know is that it's usually represented by a dot '.' . I don't know where to put 'template match' or if that is even needed. This code, on the other hand, works, because I have specified that it should look in '/n-grams-sorted/n-gram': [code=xslt]<xsl:value-of select="count(/n-grams-sorted/n-gram[starts-with(.,$letter-one-f) or starts-with(.,$letter-two-f) ])"/>[/code] …

Member Avatar
Member Avatar
+0 forum 2

hi! how can i get the column name of the current cell in the radgridview? RadGridView1 is the name of my datagrid. these doesn't work: [CODE]RadGridView1.CurrentCell.Column.ToString(); RadGridView1.CurrentCellInfo.Column.ToString(); RadGridView1.CurrentColumn.ToString();[/CODE] help me please...

Member Avatar
Member Avatar
+0 forum 4

I need a little help please,here is my question: How can I get the current index in a jComboBox? I searched it on google and i cant seem to find any answer. I need to get the index of the item that I select from a Combobox. Please help

Member Avatar
Member Avatar
+0 forum 1

ASP code snippet to detect visitors and monitor their current activity. Monitor and display which visitors are currently visiting which web page, IP number, user-agent, language preference, page referrer and more. In the settings file you can specify for how long to retain the display, for example show visitors activity for the last 2 hours. [B]Evaluation[/B] It can be seen [URL="http://www.artistscope.com/detect-visitors-tracking.asp"]working online[/URL] before downloading the code. The table shows the visitors currently viewing these snippet pages only. [B]Installation[/B] The code in the download shows exactly how it can be used. [B]Download[/B] Click to download [URL="http://www.artistscope.com/download/detect_visitors.zip"]Detect-Visitors.zip[/URL] (25 Kb) - ASP version.

Member Avatar
+0 forum 0

I am learning to use JQuery and have created the following code after reading various tutorials. I still don't quite get how JQuery variables and arrays work. Can someone point me in the right direction as to how I can print the current filename below the image and how I can rename the current file? [code] <HTML> <HEAD> <script src="jquery.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function(){ $('#thumbnails').hide(); // show the large version of this thumbnail $("#thumbnails a").click(function(e){ // clear current active thumbnail $("#imagetoedit").attr("src", this.href); // mark this thumbnail as active var $thumbnails = $(this).siblings().removeClass("active"); // setup next and previous buttons. we may …

Member Avatar
Member Avatar
+0 forum 1

In one of the downloaded free webtemplates I have this calendar. The problem is that it is static, outdated calendar. How can I modify this code to make it [COLOR="Green"]live[/COLOR], [COLOR="green"]current[/COLOR], and [COLOR="green"]user changeable[/COLOR] to different months and years? Thank you! [CODE]<h2>Calendar</h2> <div id="calendar_wrap"> <table summary="Calendar"> <caption> October 2009 </caption> <thead> <tr> <th abbr="Monday" scope="col" title="Monday">M</th> <th abbr="Tuesday" scope="col" title="Tuesday">T</th> <th abbr="Wednesday" scope="col" title="Wednesday">W</th> <th abbr="Thursday" scope="col" title="Thursday">T</th> <th abbr="Friday" scope="col" title="Friday">F</th> <th abbr="Saturday" scope="col" title="Saturday">S</th> <th abbr="Sunday" scope="col" title="Sunday">S</th> </tr> </thead> <tfoot> <tr> <td abbr="September" colspan="3" id="prev"><a href="#" title="View posts for September 2009">&laquo; Sep</a></td> <td class="pad">&nbsp;</td> <td colspan="3" id="next">&nbsp;</td> …

Member Avatar
+0 forum 0

The End.