$query = ' SELECT * from authorized_users where name= "'. $userid. '" and Password=sha1 ("'. $password. '") ';
Is that the right thing to say?
Reply to discussion (solution)
strings are enclosed in single quotes.
$query = ' SELECT * from
This is my code, running the result. How to display database information and to modify an item.
Student Information
please fill in the complete information"; Echo"
"; exit;} else {$query = "select * from $student _table where xuehao=
There is no PHP environment, only the HTML language, CSS, JavaScript to build stations, but also to update the site information (such as news, video, etc.).
Ask for ideas, thank you heroes!
Reply to discussion (solution)
XmlXmlXml
Xml? Can
Is it possible to switch the radio box through PHP?
Originally wanted to use post, but will reset the page, unable to meet the requirements. Search the Internet, it is just
What kind of regular expression can be worth the value of?
It is appreciated to ask for guidance from our predecessors.
Reply to discussion (solution)
Preg_match ('/value= ' (. +?) " /','', $m);echo $m [1];
Preg_match ('/value= ' (. +?) "
To recommend WordPress two times development data, said to see a few days is still confused, online also searched a lot, but throw is not very understand, there is no detailed information for recommendation
Reply to discussion (solution)
is
How to match link/3445/65 in this form, the numbers are random, the last number may not
link/? ([0-9]{1,})/? ([0-9]{1,})/?$ This write how wrong ah, not very understand, help master
Reply to discussion (solution)
$s = "link/3445/6444
In the same PHP file, there is the following code
How to assign the content to $dsth after you enter it in the Text field,
Click the button to execute this code
Reply to discussion (solution)
is the normal button does not produce
Rt
The file containing the database is called first.
Require (' dbconnect.php ');
?>
Take the code from the book.
echo "
";
echo "
View Message";
/////////////////////////
////////////////////////
?>
And then it goes wrong when it's
I want to read a local TXT file, and then according to the length of the set, paging, do not remove the line-wrapping format, and generate HTML files, ask the master to give a code
Reply to discussion (solution)
Read Result
Previously are directly installed integrated environment suite, now notebook 64-bit W7 system to build a server, in a one to install, PHP also to 64 bit, but found in csdn the download is very slow, the feeling is that the line has a problem, anyway
I want to implement the PHP array $questions upload to the front-end template JS in the $question array (my JS is {literal} ... {/literal} embedded in the template), in the specific description, I want to use JS to control the output from the
$STR = "Yesterday @ Test hiaaaa dd@ test repeatedly"; $reg = "/([^@]+ (? =\s))/"; $arr = Preg_split ($reg, $str, -1,preg_split_delim_capture | Preg_split_no_empty);p Rint_r ($arr);
The result is
The desired result is
How do you
Such as:
A
Acb
Abc
Aca
Aaaa
Can be lined up as:
A,aaaa,abc,aca,acb
That is, a row in front, Z is the last, the first letter from A-Z, the second third is infinitely from A-Z order.
Reply to discussion (solution)
This demand is more
Rt.
Looked for a lot of information, but did not find satisfactory.
After configuring the PHP environment, there is no SAPI folder, only the Dev,ext,extras and Pear 4 folders, so there is no Php_embed.h header file included.
Some of the posts you've
Problem Description:
Now there is a set of numbers that need to calculate the total number of reorganizations and calculate the total at the fastest speed.
The numbers are not necessarily the given, they may be other numbers
Digital:
Example One
1->0
I am using the win2003 system, doing pseudo static for the directory structure, such as:
/news.php pseudo-Static for/news/
Rewriterule ^ (. *)/news\/$ $1/news.php [L]
It's no good for me to write like this.
Reply to discussion (solution)
Now there is a requirement, which is what is selected in the following settings let him show what in the report
I do this, the table in the data from within a table, before the data stored in the table to determine whether there is no data, if there
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