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

Transport layer of osi model, Transport layer is the first end-to-end layer...

Transport layer is the first end-to-end layer. Header of the transport layer has information which helps send the message to the corresponding layer at the destination node. The me

Need help to add ubercart and configure for drupal 6 website, Need help to ...

Need help to Add Ubercart and Configure for Drupal 6 Website This project will be to install Ubercart on a Drupal 6 website and configure it to add the following- 1) product

I am in need of php copyscape script expert, I am in need of PHP Copyscape ...

I am in need of PHP Copyscape Script expert Want a sample PHP script which sends text to Copyscape as well as fetches the result along with balance in XML. Desired Skills are

Need help in jquery event calendar integration, Need help in JQuery Event C...

Need help in JQuery Event Calendar Integration w/Functionality, API Integration of BBB This module is about Integrating as well as Activating a JQuery Event Calendar as well as

I am in search of wufoo api expert, I am in search of Wufoo API Expert I...

I am in search of Wufoo API Expert I am seeking someone who is skilled with Wufoo's form API. The task needs submitting wufoo form xml to another site. Please offer relevant exp

Frames, Let us understand now how to make frames for web documents. The int...

Let us understand now how to make frames for web documents. The intelligent use of frames can give your pages a cleaner look & make them easier to navigate. The fundamental conc

I want help for email template, Email template This job is to take a des...

Email template This job is to take a design as well as build a newsletter template in HTML that works in different email clients. Desired Skills are CSS, HTML, Newsletters, E

Jhbjhkjhkjhkj, Ask questiohgkuhiuhyhkhkjhkjhkjhkjhkjhkhn #Minimum 100 words...

Ask questiohgkuhiuhyhkhkjhkjhkjhkjhkjhkhn #Minimum 100 words accepted#

I need a three page website, I need a three page website I have a homepa...

I need a three page website I have a homepage as well as two internal page designs ready in fireworks. I want these three pages online by the weekend. More work if we discover a

Very simple workshop job and parts tracking program, Very simple workshop j...

Very simple workshop job and parts tracking program Project Description: I want some software that will be very simple for mechanics who are not computer savvy. i want it to

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