Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Do you know would I use print "$a dollars” or "{$a} dollars” to print out the amount of dollars in this example?



Do you know would I use print "$a dollars” or "{$a} dollars” to print out the ..

Answer / Rahul Sagar

To print out the amount of dollars using a variable $a, you should use the second option: "{$a} dollars". The curly braces tell PHP to interpret $a as a variable.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WordPress Interview Questions

How does debugging in wordpress work?

1 Answers  


What are default themes in wordpress?

1 Answers  


What is the limitation to the depth of your categories?

1 Answers  


Are custom post types or custom database tables for plugin development?

1 Answers  


What is wordpress and how does it work?

1 Answers  


Is wordpress a cms?

1 Answers  


How to create plugin for the wordpress?

1 Answers  


What are wordpress filters?

1 Answers  


How do I see all my blog posts on wordpress?

1 Answers  


Is godaddy better than wordpress?

1 Answers  


How do you start a blog for free?

1 Answers  


How can you disable wordpress comment?

1 Answers  


Categories