Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What is the correct and the most two common way to start and finish a PHP block of code?
Home
PHP
What is the correct and the most two common way to start and finish a PHP block of code?
asked
Jun 22, 2019
in
PHP
by
SakshiSharma
(
32.2k
points)
What is the correct and the most two common way to start and finish a PHP block of code?
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jun 22, 2019
by
john ganales
(
14.1k
points)
The two most common ways to start and finish a PHP script are:
<?php [ --- PHP code---- ] ?> and <? [--- PHP code ---] ?>
Related questions
0
votes
Q: Will a comparison of an integer 12 and a string "13" work in PHP?
asked
Jun 23, 2019
in
PHP
by
SakshiSharma
(
32.2k
points)
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
+1
vote
Q: How can we display information of a variable and readable by a human with PHP?How can we display information of a variable and readable by a human with PHP?
asked
Jun 22, 2019
in
PHP
by
SakshiSharma
(
32.2k
points)
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
0
votes
Q: How can PHP and Javascript interact?
asked
Jun 22, 2019
in
PHP
by
SakshiSharma
(
32.2k
points)
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
0
votes
Q: How can PHP and HTML interact?
asked
Jun 22, 2019
in
PHP
by
SakshiSharma
(
32.2k
points)
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
0
votes
Q: What is the main difference between PHP 4 and PHP 5?
asked
Jun 22, 2019
in
PHP
by
SakshiSharma
(
32.2k
points)
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
0
votes
Q: Explain whether it is possible to share a single instance of a Memcache between multiple PHP projects?
asked
Jun 23, 2019
in
PHP
by
SakshiSharma
(
32.2k
points)
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
0
votes
Q: How to initiate a session in PHP?
asked
Jun 23, 2019
in
PHP
by
SakshiSharma
(
32.2k
points)
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
0
votes
Q: How can we connect to a MySQL database from a PHP script?
asked
Jun 22, 2019
in
PHP
by
SakshiSharma
(
32.2k
points)
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
0
votes
Q: Explain how you can update Memcached when you make changes to PHP?
asked
Jun 23, 2019
in
PHP
by
SakshiSharma
(
32.2k
points)
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
0
votes
Q: Is it possible to use COM component in PHP?
asked
Jun 23, 2019
in
PHP
by
SakshiSharma
(
32.2k
points)
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
0
votes
Q: How is it possible to cast types in PHP?
asked
Jun 23, 2019
in
PHP
by
SakshiSharma
(
32.2k
points)
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
0
votes
Q: How is it possible to set an infinite execution time for PHP script?
asked
Jun 22, 2019
in
PHP
by
SakshiSharma
(
32.2k
points)
#php-php
#php-server-monitor-script
#php-development
#php-support
#mysql-php
#php-language
#php-programmer
#php
0
votes
Q: How to run the interactive PHP shell from the command line interface?
asked
Jun 22, 2019
in
PHP
by
SakshiSharma
(
32.2k
points)
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
0
votes
Q: How can we determine whether a PHP variable is an instantiated object of a certain class?
asked
Jun 23, 2019
in
PHP
by
SakshiSharma
(
32.2k
points)
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
0
votes
Q: How is a constant defined in a PHP script?
asked
Jun 23, 2019
in
PHP
by
SakshiSharma
(
32.2k
points)
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
...