Jump to content

[SOLVED] increment using php


Nandini

Recommended Posts

Hi

I have a number with length of 10. I want to generate "X" number of 10.

That means if number=10. I have to generate 'XXXXXXXXXX'.

Is there any possibility to do this without using function and while and for loop.

Becuse i want to print that value out side the loop in echo statement.

 

Thanq

Link to comment
https://forums.phpfreaks.com/topic/122850-solved-increment-using-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.