db;}} Class B extends A{static function ex () {self::getinstance ()->find ();}} $b =new B (); $b->find (); echo "";///The second method of B::ex ();? >
According to the moderator's description, I slightly modified a bit, made the present effect,
PHP Operations Database
Load Database Driver
Access phpinfo.php can see if the database driver has been loaded and the MySQL database driver has not been loaded as shown below.
Locate the php.ini config file on the C drive to load the MySQL
which can help me write this part of the code, JS also line or directly judge the session is also OK. Little rookie wrote for two days also do not show.
Reply to discussion (solution)
It's like this.
Add PHP to the HTML page if you
I upload a function item why always appear leaked folder .... The consequences are serious. Obviously leaked out I hit Git status to say that all submitted successfully ... I have no words in ~ ~ Who knows what reason
Reply to discussion
I've defined a pair of JSON data key-value pairs, K for key V to represent values
Values with \ r \ n (line break)
That is, I want to merge two PHP arrays, the same as K and value, ignoring one, if K is the same, V is different, the V is merged, the
Undefined constants and variable warnings are always present when uploading a Web site. Occurs when you install a Web site
You don't have the permission to access/blog/onsubmit= "return" in this server.
But httpd-conf has changed ...
Reply
Small just contact MVC development model, with thinkphp development, the user submitted the form, the verification of the form on the C-level or in the M layer ah?
Reply to discussion (solution)
You should read the development manual carefully.
The requested URL is not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of this page about the error.
Error 404
localhost
apache/2.4.2 (Win32) openssl/1.0.1c php/5.4.4
On the server,
Array One
Array (size=6) + = String ' Ready to buy ' (length=9) one by one and string ' not ready to be swapped ' (length=12), Array (size=2 ) 0 = string ' 3 Saloon Coupe ' (length=13) 1 = string ' City Sub ' (length=9) and string
What do I need to do if I recently encountered a project similar to the ZHONGGUANCUN classification search function?
Reply to discussion (solution)
This may be asked is how the database design .... What's the problem with doing it?
Php+ajax
function writestatistic ($sql, $txt _name) {$filename = "". $txt _name;//Note the path to the modified file if (file_exists ($filename)) {$fp =fopen ( $filename, "A +");} else{$fp =fopen ($filename, "w+");} $text = $sql. " \ r \ n "; fwrite ($fp,
The format of the string is
Like this.
How to intercept the contents of src= "", that is, the Scarlet Letter part. I'm asking for guidance.
Reply to discussion (solution)
$s =txt;preg_match ('/src= ' (. +?) " /I ', $s, $m); echo $m [1];
$
I only know the Dechex function, but it turns out to be
echo Dechex (1407401322869);
afa7e975
Calculator Select four bytes out of the results 147afa82c60 is the result I want
How do I use PHP to implement?
Reply to discussion (solution)
Implementing string ' Off-road, City Sub ' (length=16)
Compared to the array of ' wjc_title ' and string ' 2 saloon Cars ' (length=13), see if there are conditions to meet,
What's up, just learning PHP soon
Reply to discussion (solution)
Do
For database connections, I've found two types, the first of which are:
$db _host= ' localhost '; Database host Name
$db _user= ' root '; Database user Account
$db _passw= ' 123 '; Database user Password
$db _name= ' list '; Database specific
$conn =
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