PHP Questions Home | Register | Login
Categories
Arrays
Files
Forms
Creating PDFs
PHP Errors
Functions
Images
MySQL
Numbers
Others
Strings
Website
Unanswered

PHP Forums
Forums Index
MySQL Forum
PHP Forum
Flash/Actionscript
Javascript
Web design

More PHP
PHP Functions
Top Questions
Ask a Question
PHP Interview Questions
PHP Jobs
Ecommerce
IT Questions
Business Websites

Sponsors

sponsor ad
My Salary
PHP Developer Salary
Advertise Here

How can I repeat a string several times?


To do this use the str_repeat function - read this answer:

http://www.php-questions.com/phpfaq/answer40

Comments on this Question/Answer

How can I repeat a string several times?
By: S.M.Sutharsan, 15 Oct 2009 01:30:31



Reply to comments / post your own comment >>>

ASK A QUESTION

More strings PHP Questions

How do I make the contents of a string lower case?

I retrieve data from a Mysql database and insert it into a textfield form. The data that I retrieve have a / at the end of the string. The data in the database does not have this / in the data. How do I remove this /?

What is the difference between ' and "?

How do I replace a word in a string in PHP?

How do I find the last occurrence of a character in a string?



Custom Search