I would like to ask a date question about Delphi/Windows SDK/API
Http://www.delphi2007.net/DelphiBase/html/delphi_20061218113953130.html
My problem is that today's date + x day + special date = a date;
X days do not include Saturday, special date !, I wrote the special date into the database. How can I calculate the final date?
Based on your needs.
I don't know how to exclude Saturday and special d
I want to use PHP to check whether there are more than 50 lines of aa.txt. if there are more than 50 lines of aa.txt, delete all the content below 50 lines. How can this problem be achieved? thank you !, When f_name='aa.txt '; if ($ bufs = file ($ f_name ))! = FALSE) {if (count ($ bufs gt; 50) ask a simple text processing question
I want to use PHP to check if there are more than 50 lines of aa.txt. if th
Original string:
La Bellecourbe deParfait commecadeau pour votre amoureuxNOTE: Laverà la main
The string after processing:
La Belle Courbe deParfait comme cadeau pour votre amoureuxNote:laveràla Main
Question: Ask how to write regular Preg_replace (); Reply to discussion (solution) $arr 1=array (' #]+> ([^ \r\n#i ', ' #
]*> #i ', ' #!--? span-->\r\n#i ');
$arr 2=array (' $ ', '
Ask a simple question about mysql: mysql_select_db ('baidu'); mysql_query ( quot; DELETEFROM 'clicked' WHEREdate lt; '$ date' quot ;); mysql_select_db ('baidu1'); mysql_qu
Mysql_select_db ('baidu ');
Mysql_query ("delete from 'clicked' WHERE date Mysql_select_db ('baidu1 ');
Mysql_query ("delete from 'clicked' WHERE date Mysql_select_db ('baidu2 ');
Mysql_query ("delete from 'clicked' WHERE date
Is
Today, I suddenly think of a very strange question, ask everyone:
I use post to submit the form, why can also grab to submit the password data?
Reply to discussion (solution)
No problem, the local is normal.
No problem, the local is normal.So how do you encrypt the process in transit? Instead of being encrypted before transmission, it is decrypted after it is received. It's a bit like SSL anyway.
To
Is it difficult to log out? Description: userState (1 is not logged on, 2 is logged on), a login. on the php page, after logging in successfully (saving the COOKIE or SESSION), modify the userState (user status) in the database nbsp ;= nbsp; 2. if the user clicks cancel (clear the COOKIE to ask a difficult cancellation question?
Note:
UserState (1 is not logged on, 2 is logged on ),
A login. on the php pag
Ask a simple question about AJAX voting on a static page Let me answer Website Construction and SolutionI was familiar with AJAX and had a lot of questions.The page is automatically generated once every 20 minutes. Assume that the number of votes a at the time is 100. After the time is 20 minutes, B has three votes, and the number of votes is changed to 103 when the number of static votes is generated again
For more information, see Linux general technology-Linux technology and application. There was a problem that could not be solved, so I took the liberty to ask the man. I hope to help me see if it can be implemented when I have time.
[To achieve results]
I usually learn English by watching English sound movies. Most of these films are in the rmvb format formed by adding compressed Chinese subtitles to the source film in the online subtitle group (thi
I would like to ask you a question about system installation-Linux general technology-Linux technology and application information. The following is a detailed description. Hello, all
Have you considered this problem when you reinstall the system? For example, if you find that a file is missing in your system/boot, you must reinstall the system to solve it, your/boot partition and/partition are separated.
I would like to ask you a question about linux Static Routing-Linux Enterprise Application-Linux server application. The following is a detailed description. When I was learning linux Static Routing, I encountered this problem:
In the Redhat9.0 environment, set the specified CIDR Block route
(1) The online references are as follows:
# Route add-net 192.168.3.0 netmask 255.255.255.0 gw 192.168.6.66
I would like to ask a question about process programming-Linux general technology-Linux programming and kernel information. The following is a detailed description. The GNU/Linux programming guide version 2nd contains a sample subroutine in Process Control. The source code getname. c is as follows:
# Include
# Include
# Include
# Include
# Include
Int main (void)
Friends, ask a question about 3d effects! -- Linux general technology-Linux technology and application information. For details, refer to the following section. Today, compiz is installed in fedora 10, which is really nice to start!
But the problem is that after the first operation is enabled (after the compiz is used to set effect), the mouse is moved and the mouse is stuck. The window is dragged and othe
Ask a question of grammar
Route ('/', function () { echo ' Hello world! ';});What does that mean? Never seen this syntax format
share to:
more
------Solution--------------------Closures, php5.3 start support
Route ('/', function () { echo ' Hello world! ';});
In the route is a custom function, he needs to pass in two parameters, and the second parameter is a callback function
For
Ask a question about commodity attributes and commodity attribute values?
Product List
goods_id cat_id ProductName Price
property sheet
attr_id cat_id Attr_name
Attribute Value table
ID attr_id goods_id Attr_value
When the form is modified
Savedata.asp
You must first delete the delete * from [property value] where goods_id=2 and attr_id=3 and insert into [attribute value] (attr_id,goods_id,attr_va
Ask a question my mobile = "Here's how to get a field from a database query
A program that sends text messages
Get a piece of data based on xingming_id, how do I assign a property of one of the phones in this data to the back of the mobile
It's trouble.
The following is the source code:
$con = mysql_connect ("localhost", "XXX", "XXXX");
if (! $con)
{
Die (' Could not connect: '. Mysql_error ());
}
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.