Hi,
I want to take a range value from mysql and store that in php.

ugid sfidfrom sfidto

7 03010101 03010105


I want to take inbetween values from the column sfidfrom and sfidto and want to store that in php as a array,please help me out

Regards,
Vidhya

Use rand function if you want random numbers. If you want all the numbers between the 2 numbers specified, use a loop.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.