Community
Articles
Topics
Q&A
Learn
Course
Programming Dictionary
Tools Library
Development tools
Website Source Code
PHP Libraries
JS special effects
Website Materials
Extension plug-ins
Leisure
Game Download
Game Tutorials
English
简体中文
English
繁体中文
日本語
한국어
Melayu
Français
Deutsch
Login
singup
实验举例第一个就在本地电脑运行失败,显示乱码...我是直接复制的...
phpcn_u1065
2017-03-08 16:04:56
0
1
2270
<?php
//声明变量$shouji
$shouji = '为了苹果手机去卖肾';
//在双引号中放$shouji 然后echo 一下是什么效果呢?
$str = "$shouji 会不会显示呢?";
//输入$str试试
echo $str;
?>
1
0
0
phpcn_u1065
reply all
(1)
I'll reply
Close
阿神
2017-03-08 16:30:51
1 floor
浏览器的问题,360的话右键切换下编码试试
Like
+0
Add Reply
关闭回复
phpcn_u1065
reply
reply
火狐的~~~
phpcn_u1065
author 2017-03-08 16:37:16
reply
header("Content-type: text/html; charset=utf-8"); 把这个加在第一行
阿神
author 2017-03-08 16:39:29
reply
好了,火狐也是切换下编码 就行了。好乱.... 谢谢老师!
phpcn_u1065
author 2017-03-08 16:40:05
reply
嗯,慢慢来,加油
phpcn_u806
author 2017-03-08 16:43:28
Popular Topics
More>
CakePHP Tutorial
Laravel Tutorial
PHP Tutorial
Java Tutorial
Popular Articles
Dogecoin (DOGE) Soars 25% on Election Night Amid Heightened Expectations of an Elon Musk-Touted Department of Government Efficiency (DOGE) Under the New Donald Trump Administration
Best Crypto Savings Accounts in 2024 - High Yields and Strong Security
Dragon Age: The Veilguard - Lair Of The Dragon King Walkthrough
How to Enable Offline Caching with Retrofit and OkHttp?
Why is My Java Date Conversion Producing the Wrong Month?
Popular Tutorials
More>
Related Tutorials
Popular Recommendations
Latest courses
The latest ThinkPHP 5.1 world premiere video tutorial (60 days to become a PHP expert online training course)
1417480
PHP introductory tutorial one: Learn PHP in one week
4258670
JAVA Beginner's Video Tutorial
2483967
The latest ThinkPHP 5.1 world premiere video tutorial (60 days to become a PHP expert online training course)
1417480
JAVA Beginner's Video Tutorial
2483967
Little Turtle's zero-based introduction to learning Python video tutorial
504162
Quick introduction to web front-end development
215346
Master PS video tutorials from scratch
878900
[Web front-end] Node.js quick start
6537
Complete collection of foreign web development full-stack courses
5109
Go language practical GraphQL
4282
550W fan master learns JavaScript from scratch step by step
635
Python master Mosh, a beginner with zero basic knowledge can get started in 6 hours
21804
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
[form button] jQuery enterprise message form contact code
[Player special effects] HTML5 MP3 music box playback effects
[Menu navigation] HTML5 cool particle animation navigation menu special effects
[form button] jQuery visual form drag and drop editing code
[Player special effects] VUE.JS imitation Kugou music player code
[html5 special effects] Classic html5 pushing box game
[Picture special effects] jQuery scrolling to add or reduce image effects
[Photo album effects] CSS3 personal album cover hover zoom effect
[Bootstrap template] Organic fruit and vegetable supplier web template Bootstrap5
[backend template] Bootstrap3 multifunctional data information background management responsive web page template-Novus
[Bootstrap template] Real estate resource service platform web page template Bootstrap5
[Bootstrap template] Simple resume information web template Bootstrap4
[Bootstrap template] bootstrap responsive widescreen book education website template-DREAMLIFE
[backend template] MAC style responsive blue enterprise CMS background management system template
[backend template] Responsive gradient atmosphere background management system website template-usinessbox
[Bootstrap template] Responsive vegetable and fruit store website template-Organio
[PNG material] Cute summer elements vector material (EPS PNG)
[PNG material] Four red 2023 graduation badges vector material (AI EPS PNG)
[banner picture] Singing bird and cart filled with flowers design spring banner vector material (AI EPS)
[PNG material] Golden graduation cap vector material (EPS PNG)
[PNG material] Black and white style mountain icon vector material (EPS PNG)
[PNG material] Superhero silhouette vector material (EPS PNG) with different color cloaks and different poses
[banner picture] Flat style Arbor Day banner vector material (AI+EPS)
[PNG material] Nine comic-style exploding chat bubbles vector material (EPS+PNG)
[Front-end template] Home Decor Cleaning and Repair Service Company Website Template
[Front-end template] Fresh color personal resume guide page template
[Front-end template] Designer Creative Job Resume Web Template
[Front-end template] Modern engineering construction company website template
[Front-end template] Responsive HTML5 template for educational service institutions
[Front-end template] Online e-book store mall website template
[Front-end template] IT technology solves Internet company website template
[Front-end template] Purple style foreign exchange trading service website template
浏览器的问题,360的话右键切换下编码试试