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()

Need help to fix virus and spam crash prevention, Need help to fix Virus an...

Need help to fix Virus and spam crash prevention Problem resurfaced with the GEG site. Site down since this morning by network solutions. Can you help us? Desired Skills are

Need help to set ogone payment module for magento shop, Set Ogone payment m...

Set Ogone payment module for magento shop Seeking a magento developer who can set the Payment settings for a Magento store client of us. And likewise fix some other issues fo

How can an organisation measure web application security, Question 1: C...

Question 1: Cookies are not a perfect state mechanism, but they certainly make a lot of things possible that would be impossible otherwise. Name three things that make cooki

Onerror event handler, The onError event handler executes the indicated Jav...

The onError event handler executes the indicated JavaScript code or function onto the occurrence of an error event. It happens while an image or document causes an error throughout

We need assistance in responsive website design and html, We need assistanc...

We need assistance in Responsive Website Design and HTML We run an existing technology website as well as we now need someone to re-design it for us as well as write the respons

We are seeking an experienced web developer, We are seeking an experienced ...

We are seeking an experienced web developer with the following skills- a) Front-end development (HTML5/CSS3) b) Front-end scripting and common libraries (Javascript, JQuery)

Need help to fix cs-cart custom printing of tickets, CS-Cart Custom Printin...

CS-Cart Custom Printing of Tickets We have a cart run on CS-Cart. The shopping cart doesn't purchase items however purchases raffle tickets. What I want is after each order is p

We want a wordpress web developer and content manager, We want a WordPress ...

We want a WordPress Web Developer and Content Manager We are running a services business teaching children to swim. Our website is built using WordPress. The developer who built

I need inventory and stock, I need Inventory and Stock Project Descripti...

I need Inventory and Stock Project Description: I need a module of Stock & Inventory which will be integrated with our existing Accounts Module; Our existing module is prepar

Develop an ecommerce website in the optical industry, Develop an ecommerce ...

Develop an ecommerce website in the optical industry that will allow customers to shop for frames upload/order prescriptions and have a shopping cart and pay. Need to look similar

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