热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

Smarty中常用变量操作符汇总,smarty操作符汇总

php教程|php手册Smarty,操作符,smartyphp教程-php手册Smarty中常用变量操作符汇总,smarty操作符汇总流量钓鱼源码,phpvscode配置,Ubun

php教程|php手册Smarty中常用变量操作符汇总,smarty操作符汇总
Smarty,操作符,smarty
php教程-php手册
Smarty中常用变量操作符汇总,smarty操作符汇总
流量钓鱼源码,php vscode配置,Ubuntu方案,查找tomcat 配置,SQLITE下载软件开发,wordpress 卡片插件,前端3d地图框架,爬虫能为我们做些什么好事,php视频 百度网盘,铁岭seo推广商家,网站布局模仿,网页图片显示插件,ecshop 模板堂教程lzw
本文汇总了Smarty中常用变量操作符,分享给大家供大家参考。具体如下:
一页 网站源码,vscode yapi,ubuntu 系统状态,tomcat企业,sqlite数据丢失,虚拟空间 和 服务器,系统信息插件手机版,前端开发框架整合,爬宠店的爬虫,php工厂设计模式,seo全网营销,拖拽网站,开源网页下载,服务优势模板,discuz 注册页面,25175学生成长档案管理系统,易语言运行程序lzw
php模板引擎smarty的变量操作符可用于操作变量,自定义函数和字符。
语法中使用”|”应用变量操作符,多个参数用”:”??指簟?/DIV>
bootstrap小项目源码,vscode风格,ubuntu开机进入界面,jboss +tomcat,sqlite关系编辑,与远程服务器连线中,dede 签到插件,layui前端框架实战,新浪微博 网络爬虫,php实训教程,佛山seo网站优化,flash图片链接网站,选择题 网页源码,帝国2015新模板,手机页面展示模板,工作任务管理系统 php,模拟按键 程序lzw
capitalize[首字母大写]
count_characters[计算字符数]
cat[连接字符串]
count_paragraphs[计算段落数]
count_sentences[计算句数]
count_words[计算词数]
date_format[时间格式]
default[默认]
escape[转码]
indent[缩进]
lower[小写 ]
nl2br[换行符替换成
]
regex_replace[正则替换]
replace[替换]
spacify[插空]
string_format[字符串格式化]
strip[去除(多余空格)]
strip_tags[去除html标签]
truncate[截取]
upper[大写]
wordwrap[行宽约束]
组合使用多个操作符

实例如下:

代码如下:

{* 标题大写 *}
{$title|upper}
{* 取其前40个字符 *}
Topic: {$topic|truncate:40:”…”}
{* 格式化文字串 *}
{“now”|date_format:”%Y/%m/%d”}
{* 在自定义函数里应用调节器 *}
{mailto|upper address=”main@cn-web.com”}
capitalize(首字母大写)

index.php页面如下:

代码如下:

$smarty = new Smarty;
$smarty->assign(‘articleTitle’, ‘Police begin campaign to rundown jaywalkers.’);
$smarty->display(‘index.tpl’);

index.tpl页面如下:

代码如下:

{$articleTitle}
{$articleTitle|capitalize}

OUTPUT输出如下:

代码如下:

Police begin campaign to rundown jaywalkers.
Police Begin Campaign To Rundown Jaywalkers.

count_characters(计算变量里的字符数)

index.php如下:

代码如下:

$smarty = new Smarty;
$smarty->assign(‘articleTitle’, ‘Cold Wave Linked to Temperatures.’);
$smarty->display(‘index.tpl’);

index.tpl页面如下:

代码如下:

{$articleTitle}
{$articleTitle|count_characters}

OUTPUT输出如下:

Cold Wave Linked to Temperatures.

cat(连接字符串)
将cat里的值连接到给定的变量后面
index.php如下:

代码如下:

$smarty = new Smarty;
$smarty->assign(‘articleTitle’, ‘Psychics predict world didn’t end’);
$smarty->display(‘index.tpl’);

index.tpl页面如下:

代码如下:

{$articleTitle|cat:” yesterday.”}

OUTPUT输出如下:

代码如下:

Psychics predict world didn’t end yesterday.

count_paragraphs(计算段数)
计算变量里的段落数量
index.php如下:

代码如下:

$smarty = new Smarty;
$smarty->assign(‘articleTitle’, ‘War Dims Hope for Peace. Child’s Death Ruins Couple’s Holiday.’);
$smarty->display(‘index.tpl’);

index.tpl模板页面如下:

代码如下:

{$articleTitle}
{$articleTitle|count_paragraphs}

OUTPUT输出如下:

代码如下:

War Dims Hope for Peace. Child’s Death Ruins Couple’s Holiday.

Man is Fatally Slain. Death Causes Loneliness, Feeling of Isolation.
2

count_sentences(计算句数)
计算变量里句子的数量
index.php如下:

代码如下:

$smarty = new Smarty;
$smarty->assign(‘articleTitle’, ‘Two Soviet Ships Collide – One Dies. Enraged Cow Injures Farmer with Axe.’);
$smarty->display(‘index.tpl’);

index.tpl模板如下:

代码如下:

{$articleTitle}
{$articleTitle|count_sentences}

OUTPUT输出如下:

代码如下:

Two Soviet Ships Collide – One Dies. Enraged Cow Injures Farmer with Axe.
2

count_words(计算词数)
计算变量里的词数
index.php如下:

代码如下:

$smarty = new Smarty;
$smarty->assign(‘articleTitle’, ‘Dealers Will Hear Car Talk at Noon.’);
$smarty->display(‘index.tpl’);

index.tpl模板如下:

代码如下:

{$articleTitle}
{$articleTitle|count_words}

OUTPUT输出如下:

代码如下:

Dealers Will Hear Car Talk at Noon.
7

date_format(日期格式)
Parameter Position
参数位置 Type Required Default Description
1 string No %b %e, %Y This is the format for the outputted date.
输出字串的格式
2 string No n/a This is the default date if the input is empty.
输入为空时的默认设置
在给定的函数serftime();里格式日期和时间.
Unix或者mysql等的时间戳(parsable by strtotime)都可以传递到smarty.
设计者可以使用date_format完全控制日期格式.
如果传给date_format的数据是空的,将使用第二个参数作为时间格式
index.php如下:

代码如下:

$smarty = new Smarty;
$smarty->assign(‘yesterday’, strtotime(‘-1 day’));
$smarty->display(‘index.tpl’);

index.tpl:

代码如下:

{$smarty.now|date_format}
{$smarty.now|date_format:”%A, %B %e, %Y”}
{$smarty.now|date_format:”%H:%M:%S”}
{$yesterday|date_format}
{$yesterday|date_format:”%A, %B %e, %Y”}
{$yesterday|date_format:”%H:%M:%S”}

OUTPUT输出如下:

代码如下:

Feb 6, 2001
Tuesday, February 6, 2001
14:33:00
Feb 5, 2001
Monday, February 5, 2001
14:33:00
default(默认)
Parameter Position Type Required Default Description
1 string No empty This is the default value to output if the variable is empty.

这是变量为空的时候的默认输出
为空变量设置一个默认值.
当变量为空或者未分配的时候,将由给定的默认值替代输出.
index.php如下:

代码如下:

$smarty = new Smarty;
$smarty->assign(‘articleTitle’, ‘Dealers Will Hear Car Talk at Noon.’);
$smarty->display(‘index.tpl’);

index.tpl模板:

代码如下:

{$articleTitle|default:”no title”}
{$myTitle|default:”no title”}

OUTPUT输出:

代码如下:

Dealers Will Hear Car Talk at Noon.
no title

escape(转码)
Parameter Position Type Required Possible Values Default Description
1 string No html,htmlall,url,quotes,hex,hexentity,Javascript html This is the escape format to use.
用于html转码,url转码,在没有转码的变量上转换单引号,十六进制转码,十六进制美化,或者Javascript转码.
默认是html转码
index.php如下:

代码如下:

$smarty = new Smarty;
$smarty->assign(‘articleTitle’, “‘Stiff Opposition Expected to Casketless Funeral Plan'”);
$smarty->display(‘index.tpl’);

index.tpl模板:

代码如下:

{$articleTitle}
{$articleTitle|escape}
{$articleTitle|escape:”html”} {* escapes & ” ‘ *}
{$articleTitle|escape:”htmlall”} {* escapes ALL html entities *}
{$articleTitle|escape:”url”}
{$articleTitle|escape:”quotes”}

href=”{$EmailAddress|escape:”hexentity”}mailto:{$EmailAddress|escape:”hex”}”>{$EmailAddress|escape:”hexentity”}

OUTPUT输出:

代码如下:

‘Stiff Opposition Expected to Casketless Funeral Plan’
‘Stiff%20Opposition%20Expected%20to%20Casketless%20Funeral%20Plan’
‘Stiff%20Opposition%20Expected%20to%20Casketless%20Funeral%20Plan’
‘Stiff%20Opposition%20Expected%20to%20Casketless%20Funeral%20Plan’
‘Stiff+Opposition+Expected+to+Casketless+Funeral+Plan’
‘Stiff Opposition Expected to Casketless Funeral Plan’

href=”bob@me.netmailto:%62%6f%62%40%6d%65%2e%6e%65%74″>bob@me.net

indent(缩进)
Parameter Position Type Required Default Description
1 integer No 4 This determines how many characters to indent to.
2 string No (one space) This is the character used to indent with.
在每行缩进字符串,默认是4个字符(pear标准也是).
作为可选参数,你可以指定缩进字符数.
作为第二个可选参数,你可以指定缩进用什么字符代替
index.php如下:

代码如下:

$smarty = new Smarty;
$smarty->assign(‘articleTitle’, ‘NJ judge to rule on nude beach.’);
$smarty->display(‘index.tpl’);

index.tpl模板:

代码如下:

{$articleTitle}

{$articleTitle|indent}

{$articleTitle|indent:10}

{$articleTitle|indent:1:”t”}

OUTPUT输出:

代码如下:

NJ judge to rule on nude beach.
Sun or rain expected today, dark tonight.
Statistics show that teen pregnancy drops off significantly after 25.

NJ judge to rule on nude beach.
Sun or rain expected today, dark tonight.
Statistics show that teen pregnancy drops off significantly after 25.
NJ judge to rule on nude beach.
Sun or rain expected today, dark tonight.
Statistics show that teen pregnancy drops off significantly after 25.

NJ judge to rule on nude beach.
Sun or rain expected today, dark tonight.
Statistics show that teen pregnancy drops off significantly after 25.

lower(小写)
将变量字符串小写
index.php如下:

代码如下:

$smarty = new Smarty;
$smarty->assign(‘articleTitle’, ‘Two Convicts Evade Noose, Jury Hung.’);
$smarty->display(‘index.tpl’);

index.tpl模板:

代码如下:

{$articleTitle}
{$articleTitle|lower}

OUTPUT输出:

代码如下:

Two Convicts Evade Noose, Jury Hung.
two convicts evade noose, jury hung.

nl2br(换行符替换成
)
所有的换行符将被替换成
.同php的nl2br()函数一样.
index.php如下:

代码如下:

$smarty = new Smarty;
$smarty->assign(‘articleTitle’, “Sun or rain expectedntoday, dark tonight”);
$smarty->display(‘index.tpl’);

index.tpl模板:

代码如下:

{$articleTitle|nl2br}

OUTPUT输出:

代码如下:

Sun or rain expected
today, dark tonight

regex_replace(正则替换)
寻找和替换正则表达式 .
Parameter Position Type Required Default Description
1 string Yes n/a This is the regular expression to be replaced.
替换正则表达式.

2 string Yes n/a This is the string of text to replace with.
使用什么文本字串来替换
index.php如下:

代码如下:

$smarty = new Smarty;
$smarty->assign(‘articleTitle’, “Infertility unlikely tonbe passed on, experts say.”);
$smarty->display(‘index.tpl’);

index.tpl模板:

代码如下:

{* replace each carriage return, tab & new line with a space *}{* 使用空格替换每个回车,tab,和换行符 *}
{$articleTitle}
{$articleTitle|regex_replace:”/[rtn]/”:” “}

OUTPUT输出:

代码如下:

Infertility unlikely to
be passed on, experts say.
Infertility unlikely to be passed on, experts say.

replace(替换)
简单的搜索和替换字符串
Parameter Position Type Required Default Description
1 string Yes n/a This is the string of text to be replaced.
将被替换的字符串
2 string Yes n/a This is the string of text to replace with.
用来替换的文本
index.php如下:

代码如下:

$smarty = new Smarty;
$smarty->assign(‘articleTitle’, “Child’s Stool Great for Use in Garden.”);
$smarty->display(‘index.tpl’);

index.tpl模板:

代码如下:

{$articleTitle}
{$articleTitle|replace:”Garden”:”Vineyard”}
{$articleTitle|replace:” “:” “}

OUTPUT输出:

代码如下:

Child’s Stool Great for Use in Garden.
Child’s Stool Great for Use in Vineyard.
Child’s Stool Great for Use in Garden.

spacify
是一种在字符串的每个字符之间插入空格或者插入其他的字符(串).
index.php如下:

代码如下:

$smarty = new Smarty;
$smarty->assign(‘articleTitle’, ‘Something Went Wrong in Jet Crash, Experts Say.’);
$smarty->display(‘index.tpl’);

index.tpl模板:

代码如下:

{$articleTitle}
{$articleTitle|spacify}
{$articleTitle|spacify:”^^”}

OUTPUT输出:

代码如下:

Something Went Wrong in Jet Crash, Experts Say.
S o m e t h i n g W e n t W r o n g i n J e t C r a s h , E x p e r t s S a y .
S^^o^^m^^e^^t^^h^^i^^n^^g^^ ^^W^^e^^n^^t^^ ^^W^^r^^o^^n^^g^^ ^^i^^n^^ ^^J^^e^^t^^ ^^C^^r^^a^^s^^h^^,^^ ^^E^^x^^p^^e^^r^^t^^s^^ ^^S^^a^^y^^.

string_format(字符串格式化)
Parameter Position Type Required Default Description
1 string Yes n/a This is what format to use. (sprintf)
使用的格式化方式
是一种格式化浮点数的方法.例如十进制数.使用sprintf语法格式化
index.php如下:

代码如下:

$smarty = new Smarty;
$smarty->assign(‘number’, 23.5787446);
$smarty->display(‘index.tpl’);

index.tpl模板:

代码如下:

{$number}
{$number|string_format:”%.2f”}
{$number|string_format:”%d”}

OUTPUT输出:

代码如下:

23.5787446
23.58
24

strip(去除(多余空格)
替换所有重复的空格,换行和tab为单个.
index.php如下:

代码如下:

$smarty = new Smarty;
$smarty->assign(‘articleTitle’, “Grandmother ofneight makest hole in one.”);
$smarty->display(‘index.tpl’);

index.tpl模板:

代码如下:

{$articleTitle}
{$articleTitle|strip}
{$articleTitle|strip:” “}

OUTPUT输出:

代码如下:

Grandmother of
eight makes hole in one.
Grandmother of eight makes hole in one.
Grandmother of eight makes hole in one.

strip_tags(去除html标签)
去除在之间的所有标签,包括.
index.php如下:

代码如下:

$smarty = new Smarty;
$smarty->assign(‘articleTitle’, “Blind Woman Gets New Kidney from Dad she Hasn’t Seen in years.”);
$smarty->display(‘index.tpl’);

index.tpl模板:

代码如下:

{$articleTitle}
{$articleTitle|strip_tags}

OUTPUT输出:

代码如下:

Blind Woman Gets New Kidney from Dad she Hasn’t Seen in years.
Blind Woman Gets New Kidney from Dad she Hasn’t Seen in years.

truncate(截取)
Parameter Position Type Required Default Description
1 integer No 80 This determines how many characters to truncate to.
指定截取多少字符
2 string No … This is the text to append if truncation occurs.
截取后加在截取词后的字符串
3 boolean No false This determines whether or not to truncate at a word boundary (false), or at the exact character (true).
检查是否截取到词的边界
截取字符串开始的一段.默认是80个.
你可以指定第二个参数作为在截取的那段字符串后加上什么字符.
默认情况下,smarty会截取到一个词的末尾,
如果你想要精确的截取多少个字符,把第三个参数改为”true”
index.php如下:

代码如下:

$smarty = new Smarty;
$smarty->assign(‘articleTitle’, ‘Two Sisters Reunite after Eighteen Years at Checkout Counter.’);
$smarty->display(‘index.tpl’);

index.tpl模板:

代码如下:

{$articleTitle}
{$articleTitle|truncate}
{$articleTitle|truncate:30}
{$articleTitle|truncate:30:””}
{$articleTitle|truncate:30:”—“}
{$articleTitle|truncate:30:””:true}
{$articleTitle|truncate:30:”…”:true}

OUTPUT输出:

代码如下:

Two Sisters Reunite after Eighteen Years at Checkout Counter.
Two Sisters Reunite after Eighteen Years at Checkout Counter.
Two Sisters Reunite after…
Two Sisters Reunite after
Two Sisters Reunite after—
Two Sisters Reunite after Eigh
Two Sisters Reunite after E…

upper(大写 )
将变量改为大写
index.php如下:

代码如下:

$smarty = new Smarty;
$smarty->assign(‘articleTitle’, “If Strike isn’t Settled Quickly it may Last a While.”);
$smarty->display(‘index.tpl’);

index.tpl模板:

代码如下:

{$articleTitle}
{$articleTitle|upper}

OUTPUT输出:

代码如下:

If Strike isn’t Settled Quickly it may Last a While.
IF STRIKE ISN’T SETTLED QUICKLY IT MAY LAST A WHILE.

wordwrap(行宽约束)
可以指定段落的宽度(也就是多少个字符一行,超过这个字符数换行).默认80.
第二个参数可选,可以指定在约束点使用什么字符(默认是换行符n).
默认情况下smarty将截取到词尾,你也可以指定精确截取多少个字符
Parameter Position Type Required Default Description
1 integer No 80 This determines how many columns to wrap to.
指 定段落(句子)的宽度
2 string No n This is the string used to wrap words with.
使用什么字符约束
3 boolean No false This determines whether or not to wrap at a word boundary (false), or at the exact character (true).
是否精确约束到字符
index.php如下:

代码如下:

$smarty = new Smarty;
$smarty->assign(‘articleTitle’, “Blind woman gets new kidney from dad she hasn’t seen in years.”);
$smarty->display(‘index.tpl’);

index.tpl模板:

代码如下:

{$articleTitle}
{$articleTitle|wordwrap:30}
{$articleTitle|wordwrap:20}
{$articleTitle|wordwrap:30:”
n”}
{$articleTitle|wordwrap:30:”n”:true}

OUTPUT输出:

代码如下:

Blind woman gets new kidney from dad she hasn’t seen in years.
Blind woman gets new kidney
from dad she hasn’t seen in
years.
Blind woman gets new
kidney from dad she
hasn’t seen in
years.
Blind woman gets new kidney

from dad she hasn’t seen in years.
Blind woman gets new kidney fr
om dad she hasn’t seen in year
s.

组合使用多个操作符
可以在一个变量上应用操作符,它们将从左到右依次组合应用.多个操作符必须用”|”符号分开.
index.php页面如下:

代码如下:

$smarty = new Smarty;
$smarty->assign(‘articleTitle’, ‘Smokers are Productive, but Death Cuts Efficiency.’);
$smarty->display(‘index.tpl’);

index.tpl模板:

代码如下:

{$articleTitle}
{$articleTitle|upper|spacify}
{$articleTitle|lower|spacify|truncate}
{$articleTitle|lower|truncate:30|spacify}
{$articleTitle|lower|spacify|truncate:30:”. . .”}

OUTPUT输出:

代码如下:

Smokers are Productive, but Death Cuts Efficiency.
S M O K E R S A R E P R O D U C T I V E , B U T D E A T H C U T S E F F I C I E N C Y .
s m o k e r s a r e p r o d u c t i v e , b u t d e a t h c u t s…
s m o k e r s a r e p r o d u c t i v e , b u t . . .
s m o k e r s a r e p. . .


smarty的模板中,怎使用php变量?

就是这个方法。
 

smarty模板中变量自增问题

试了一下这样可以:
(放在循环之外)
(循环之内递增)
 


推荐阅读
  • 如何实现织梦DedeCms全站伪静态
    本文介绍了如何通过修改织梦DedeCms源代码来实现全站伪静态,以提高管理和SEO效果。全站伪静态可以避免重复URL的问题,同时通过使用mod_rewrite伪静态模块和.htaccess正则表达式,可以更好地适应搜索引擎的需求。文章还提到了一些相关的技术和工具,如Ubuntu、qt编程、tomcat端口、爬虫、php request根目录等。 ... [详细]
  • 分享css中提升优先级属性!important的用法总结
    web前端|css教程css!importantweb前端-css教程本文分享css中提升优先级属性!important的用法总结微信门店展示源码,vscode如何管理站点,ubu ... [详细]
  • ORACLE空间管理实验5:块管理之ASSM下高水位的影响
    数据库|mysql教程ORACLE,空间,管理,实验,ASSM,下高,水位,影响,数据库-mysql教程易语言黑客软件源码,vscode左侧搜索,ubuntu怎么看上一页,ecs搭 ... [详细]
  • MySQL语句大全:创建、授权、查询、修改等【MySQL】的使用方法详解
    本文详细介绍了MySQL语句的使用方法,包括创建用户、授权、查询、修改等操作。通过连接MySQL数据库,可以使用命令创建用户,并指定该用户在哪个主机上可以登录。同时,还可以设置用户的登录密码。通过本文,您可以全面了解MySQL语句的使用方法。 ... [详细]
  • mui框架offcanvas侧滑超出部分隐藏无法滚动如何解决
    web前端|js教程off-canvas,部分,超出web前端-js教程mui框架中off-canvas侧滑的一个缺点就是无法出现滚动条,因为它主要用途是设置类似于qq界面的那种格 ... [详细]
  • Linux下部署Symfoy2对app/cache和app/logs目录的权限设置,symfoy2logs
    php教程|php手册xml文件php教程-php手册Linux下部署Symfoy2对appcache和applogs目录的权限设置,symfoy2logs黑色记事本源码,vsco ... [详细]
  • 用PHP连接MySQL代码的参数说明【PHP】
    后端开发|php教程PHP,连接,MySQL,参数后端开发-php教程代码是这样的:大图标网站源码,怎么在vscode中调试css,ubuntu退出命令行,系统默认开tomcat, ... [详细]
  • Php怎么编写乘法表
    后端开发|PHP问题php,乘法表后端开发-PHP问题传世登陆器源码,vscode设置字号,ubuntu系统创建不了文件,tomcat配置修改,sqlite怎么调中文,海洋采集插件 ... [详细]
  • 计算机存储系统的层次结构及其优势
    本文介绍了计算机存储系统的层次结构,包括高速缓存、主存储器和辅助存储器三个层次。通过分层存储数据可以提高程序的执行效率。计算机存储系统的层次结构将各种不同存储容量、存取速度和价格的存储器有机组合成整体,形成可寻址存储空间比主存储器空间大得多的存储整体。由于辅助存储器容量大、价格低,使得整体存储系统的平均价格降低。同时,高速缓存的存取速度可以和CPU的工作速度相匹配,进一步提高程序执行效率。 ... [详细]
  • 如何提高PHP编程技能及推荐高级教程
    本文介绍了如何提高PHP编程技能的方法,推荐了一些高级教程。学习任何一种编程语言都需要长期的坚持和不懈的努力,本文提醒读者要有足够的耐心和时间投入。通过实践操作学习,可以更好地理解和掌握PHP语言的特异性,特别是单引号和双引号的用法。同时,本文也指出了只走马观花看整体而不深入学习的学习方式无法真正掌握这门语言,建议读者要从整体来考虑局部,培养大局观。最后,本文提醒读者完成一个像模像样的网站需要付出更多的努力和实践。 ... [详细]
  • 如何使用PLEX播放组播、抓取信号源以及设置路由器
    本文介绍了如何使用PLEX播放组播、抓取信号源以及设置路由器。通过使用xTeve软件和M3U源,用户可以在PLEX上实现直播功能,并且可以自动匹配EPG信息和定时录制节目。同时,本文还提供了从华为itv盒子提取组播地址的方法以及如何在ASUS固件路由器上设置IPTV。在使用PLEX之前,建议先使用VLC测试是否可以正常播放UDPXY转发的iptv流。最后,本文还介绍了docker版xTeve的设置方法。 ... [详细]
  • Oracle 和 mysql的9点区别【MySQL】
    数据库|mysql教程oracle,Oracle,money,mysql,coun数据库-mysql教程1.组函数用法规则mysql中组函数在select语句中可以随意使用,但在o ... [详细]
  • 工作经验谈之-让百度地图API调用数据库内容 及详解
    这段时间,所在项目中要用到的一个模块,就是让数据库中的内容在百度地图上展现出来,如经纬度。主要实现以下几点功能:1.读取数据库中的经纬度值在百度上标注出来。2.点击标注弹出对应信息。3 ... [详细]
  • PHP输出缓冲控制Output Control系列函数详解【PHP】
    后端开发|php教程PHP,输出缓冲,Output,Control后端开发-php教程概述全景网页源码,vscode如何打开c,ubuntu强制解锁,sts启动tomcat慢,sq ... [详细]
  • 电脑f5键是什么作用
    常见问题f5常见问题韩亚整形医院源码,vscode写前端代码,ubuntu低配,tomcat下载路径乱码,爬虫_gscu,php精粹pdf,广州快速seo优化排名,aspwap网站 ... [详细]
author-avatar
手机用户2502853601
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有