Hey guys,
I have another question, I might be a little lost here
Say these are different images stored in a MySQL db:
[
url...]
[
url...]
[
url...]
I have a page with 6 iframes and I want to give people the option to choose which image to display in each iframe.
I created the following variable to only change the last digit:
$pic_url = "http://url/show.php?id=";
and this is the iframe
<iframe class="ifimage" src="<?php echo $pic_url; echo ('1') ?>" frameborder="0">
<p>Your browser does not support iframes.</p>
</iframe>
As you can see that second echo is adding the number 1 and it works fine but I would like to be able to put an input field or something that the user can update and change that number to whatever they want and get a different picture displayed, can this be done?
I hope this is clear enough, thanks in advance for all the help.