Year function problem, online to divide
such as the number of years $year=, such as 5
$staff _join= began on the day of 2008-05-02
I am now going to add years to the beginning of the year, such as 2008-05-02+5=2013-05-02 with what expression Ah,
To
How do I get it to find the browse path automatically?
Browse paths
$conf ["base_url"] = "http://". $_server["SERVER_NAME"];
This statement is not smart enough.
If I put it in a subdirectory, I'll change to:
Browse paths
$conf ["base_url"] = "http://
Help: PHP Memory overflow problem fatal Error:out
Fatal Error:out of memory (allocated 786432) (tried to allocate 1572864 bytes) in E:\WWWROOT\LUNANNEWS\DEDE\ARCHIVES_DO.P HP on line 997
Background Post article tips such as above, DEDE5.6 program,
PHP problem (Urgent)
One, write a floating-point format function with JavaScript. Requires that the number of decimal digits reserved can be specified. Requirements: IE version is less than 5.5, that is, the existing new function is not
Smarty Database Query problems
function class_id () {
if (!empty ($_get[' class_id ')) {
$sql = "SELECT * from Goods_class as a,goods_detail as B where a.id=b.class_id and a.id= ' $_get[class_id] '";
$query =mysql_query ($sql);
while ($row
Why are some Chinese characters not submitted to the database??
My database uses MySQL.
Database test code is gb2312 inside there is a table news, encoding is also gb2312, there is a field title type is varchar
Now I submit data to form news, I
Thinkphp's question, please help to see
I've just started using thinkphp, and a lot of places are unfamiliar
Now do an upload file, want to upload the file path to the database, but I started debugging, can be stored in the database normally,
When I
A bit of advice for beginners in PHP
CSDN new entire Novice Base camp also may be I just found PHP write fast is 1 words feel like SNS sleep in the PHP version looked at the discovery point problem
In which the so-called teacher feel is some
Find a fun thing to do
Check if the file exists (this function is interesting)
BOOL File_exists (string filename)
Returns TRUE if the file or directory specified by filename is present, otherwise FALSE.
This function is very interesting, on
Do PHP project development
Before is learning the Java EE, now learning PHP do not know whether it can be some of the framework of the idea of the transfer of the ideas, like struts+hibernate+stpring these layered ideas transferred to PHP. and
PHP upload Error, code 3, indicating that the file is only partially uploaded
PHP upload Error, code 3, indicating that the file is only partially uploaded
What's the reason for this? is the server Setup problem (server is native)?
------Solution--
SQL implementation calls the latest 5 list thumbnails for help:
{dede:sql sql= "select Typename,typedir,typeimg from Dede_arctype where Id>7"}
[Field:typename/]
{/dede:sql}
I used this statement to bring up all the list thumbnails, but that
Website revision, with PHPCMS (urgent)
Recently want to use PHPCMS rectification a website, do not clear the clue. I hope you can help!! My little brother thanked me here.
The problem is as follows:
In the Phpcms module, channel, and the column and
thinkphp Template Usage Issues
In thinkphp with the use of Smarty template, have been configured, in the IndexAction.class.php file using $this->display ("login") No problem, However, another file in the DefaultAction.class.php file is also used,
MySQL how to get the first day of the first week of this month is the date
MySQL how to get the first day of the first week of this month is the date
------Solution--------------------
I'm just talking about my thoughts:
SQL statement efficiency
About IFRAME cross-domain
About IFRAME cross-domain
A page a.htm has an iframe iframe1,iframe1 is B.hml, B.hml has a iframe2, how to get iframe2 of body.innerhtml
window.frames[' iframe1 '].document.body.innerhtml;
This is for the first
Parameter passing and parameter reference problem??
I have a flash player, introduced into a PHP page with an OBJECT tag, passed in the parameter to the PHP page, and then used $_get["" "to get the incoming parameters, and then put the passed
The operation of a regular addition and subtraction,
$result = "Republic of China 96";
$result = Preg_replace ('/Republic of China ([0-9]+) year/s ', ' A.D. 1912+\\1-1 Year ', $result);
The result of the operation is: A.D. 1912+96-1 year
The
Html
Which heroes recommend a few books to learn HTML?
------Solution--------------------
http://www.w3schools.com/
Online, free, there are examples, there are explanations
and the server-side interaction.
------Solution--------------------
http://
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service