文档介绍:
附录A外文翻译-原文部分PHPLanguageBasicsActiveServerPages(PHP)isaproven,well-establishedtechnologyforbuildingdynamicWebapplications,whichprovidesthepowerandflexibilityyouneedtocreateanythingfromapersonal,merceproject。OneuniquefeatureofPHPisthatitletsyouchooseyourfavouritescriptinglanguage,beitJavaScriptorPHP;however,PHPisbyfarthemostpopularchoice.Inthisarticle,I'llbringyouuptospeedonthebasicsyntaxofthePHPlanguage,includingvariables,operators,andcontrolstructures.ThisarticleisthesecondinaseriesteachingPHP.Specifically,thegoalofthisseriesistoteachyouallyouneedtoknowtocreatedynamicWebsitesusingPHP.Thisarticlepicksuprightwherethepreviousarticleintheseries,GettingStartedwithPHP,leftoff.VariablesHereisthelistingforthefirstPHPscriptIhelpedyoucreateinthepreviousarticle:12
3MyFirstPHPPage456<?php7 'WriteoutasimpleHTMLparagraph8Echo"
ThisisatestofPHP."9?>1011AsIadmittedinthatarticle,thisisaprettyuninterestingexampleofanPHPscript.esrightdowntoit,thisscriptdoesn'tdoanythingaplain,oldHTMLpagecouldn'tdo.Ohsure,Igaveaslightlymoreinterestingexamplethatdisplayedthecurrentservertime,buttobereallyusefulascriptneedstoperformsomeformofcalculation,ormanipulatedynamicinformationtopresentitinsomeinterestingway.ThelanguageusedforwritingmostPHPprograms,andwhichI'llbeusingthroughoutthisseries,iscalledPHP.Likemostprogramminglanguages,PHPletsyoustoredatainvari
内容来自淘豆网转载请标明出处.
如果觉得《计算机php外文翻译 php外文翻译.doc》对你有帮助,请点赞、收藏,并留下你的观点哦!