What is the difference between print and printf(), PHP Web Programming

Assignment Help:

What is the difference between echo, print and printf()?

Echo is the basic type used to print out a string. It just illustrates the content of message written using it. It can have multiple parameters as well. print is a construct, it returns TRUE on successful output and FALSE if there is no output. It cannot have multiple parameters. Printf() is a function, and not to be used as a construct. It allows string output to be formatted. It is the slowest medium to print the data out.

 


Related Discussions:- What is the difference between print and printf()

Cake php project issues, Cake PHP Project Good knowledge of PHP. a) Hands-o...

Cake PHP Project Good knowledge of PHP. a) Hands-on PHP based framework, Cake PHP b) Demonstrable knowledge of web technologies including HTML, CSS, Javascript, AJAX, CRM. c) Good

We are looking for php development utilizing mongodb, PHP Driven Web App ...

PHP Driven Web App We are working on a project that will require heavy PHP development utilizing MongoDB as the backend database. Developer will want to 1) Create registratio

Need help to debug cs-cart installation, Need help to Debug CS-Cart install...

Need help to Debug CS-Cart installation We have a CS-Cart installed on one of our servers. The site is running as well as everything is working, except for the fact that ther

Draw layout cells in a table, Now insert layout cells into which you will a...

Now insert layout cells into which you will add text regarding travel locations. 1. In the Objects panel, click on the Draw Layout Cell icon & move the pointer to the layout tab

Need help in wordpress site with e-commerce integration, WordPress Site wit...

WordPress Site with E-Commerce Integration We want development of a site in Word Press. We will offer the designs and the content. We will want you to set up the site and conver

I need help in joomla front-end template changes, I need help in Joomla Fro...

I need help in Joomla Front-End Template Changes We bought a Joomla template as well as have made some custom changes to it. There are a few more changes that we would like to h

Change quantity button cannot be functioned, error_reporting(0); session_...

error_reporting(0); session_start(); header(''Content-type: text/html; charset=utf-8''); include_once(''../../xajax_core/xajax.inc.php''); // ?? xajax $xajax = new xajax()

Need help in wordpress plugin, Need help Wordpress Plugin WP Conversion ...

Need help Wordpress Plugin WP Conversion Tracker & List Building Feedback I have comprised all files, mockups and a video for further explanation. Desired Skills are MySQL

Fashion luxury brand website design and development, Fashion Luxury Brand W...

Fashion Luxury Brand Website Design and Development I want someone to design and implement a website for a high end luxury fashion label that I am launching which at the moment

I am in search of some local help with my sites, Xcart Help I am in sear...

Xcart Help I am in search of some local help with my sites. These are both built on xcart platforms. I need help with- 1) Integrating moneris to teamperfect site 2)

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd