get_options in for loop
-
Hi,
I would like to get the data from database in a for loop but it’s somehow not working. The code I’m using isfor ($i = 1; $i <= $number_of_images; $i++){ $url = get_option( 'image_'+$i); echo $url; }Is there any way I can get the data with a loop? Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘get_options in for loop’ is closed to new replies.