boncey / Flickr4Java

Java API For Flickr. Fork of FlickrJ
BSD 2-Clause "Simplified" License
176 stars 155 forks source link

assign a number to variable value in foreach loop & when onclick over the value get that number in PHP #659

Closed Lalarukh-khan closed 2 years ago

Lalarukh-khan commented 2 years ago

Is it possible in PHP that assign a number to the value of variable and when in view, click on that word(value) it should show(alert or pass) that number to the other variable in page. I know i can get this using JS but that option isn't for me right now. Like give a number to variable value and on click get that number from variable value.