21 Answers
New Answer21 Answers
New AnswerIn PHP code playground you can use HTML elements ...but in web code you can't use PHP properties... look at this code https://code.sololearn.com/wb8syzkL5Se1/?ref=app
Its same as in pc, In pc, you have to write html code in php file.. Same works in sololearn.... You will have to write your html file in a php project, then when you want to write php, open php tags and write then close... ππππππππππ for more information please take a look Kode Krasher's answers in this question..
Ok... Kode Krasher :-)... I didnt knew we could embed php in html file.. thanks for pointing it out...
Sorry, for wrong information... Kode Krasher I have fixed, please see if i am wrong again...
I don't know an app that works both as IDE as well as server package. Others may give you some suggestions π
Maroseios running services on your phone is just going to kill the battery quicker anyway. Have you looked at the http://raspberrypi.org ? It is a little linux based micro-computer that can be displayed over an hdmi input in a tv. it can run a personal web-server with pretty much any configuration you would like. Another option you could use is get a free learning account on aws or azure, and configure some containers to run the services. Just realize if you share your site or go over your limited usage that you will be charged. π£
Maroseios look at PHP code in code playground. You will find examples on how to embed html in PHP. There are plenty of examples to get you started. Steve Sajeev your answer is not entirely correct... With a webserver configured properly you can embed PHP in HTML, but sololearn does not run a PHP server in the HTML or PHP containers; they execute php in a script, calling the php file and let the browser interpret any HTML output. Try to create the common phpinfo() file in PHP code playground and you will see what I mean. It outputs console text and not the standard HTML table that would be displayed from a webserver running a php module or php server. π Happy Coding! ππ
Are you on Android or iOS? For Android, try KSWEB (https://play.google.com/store/apps/details?id=ru.kslabs.ksweb), not a perfect one, but it's okay for learning ... Not an iOS user meself, so I got no recommendation, sorry ...
Decoder π π i try also but php code in html script like real coding..π nothing worked π
Plz suggest me app(this app also code (html,css,js,php) )all in one app doing all like real code .. π₯because i have no pc ..ππ₯plz help me someone..
Learn Playing. Play Learning
SoloLearn Inc.
4 Embarcadero Center, Suite 1455Send us a message